summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickaël Canévet <mickael.canevet@camptocamp.com>2015-01-23 09:01:08 +0100
committerMickaël Canévet <mickael.canevet@camptocamp.com>2015-01-23 09:01:08 +0100
commit1d5dc6869fcb7bcb4119f8de241265a21bc4329e (patch)
tree5730590688ff5d6b826dccf84416479e409edb12
parente5ecd16e464ef34f810a666103979ac86f5588f8 (diff)
Update with msync
-rw-r--r--.travis.yml2
-rw-r--r--spec/spec_helper.rb2
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index db911af..2a224fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,7 @@ language: ruby
sudo: false
cache: bundler
bundler_args: --without system_tests
-script: ["bundle exec rake validate", "bundle exec rake lint", "bundle exec fakeroot rake spec SPEC_OPTS='--format documentation'", "bundle exec rake metadata"]
+script: ["bundle exec rake validate", "bundle exec rake lint", "bundle exec rake spec SPEC_OPTS='--format documentation'", "bundle exec rake metadata"]
matrix:
fast_finish: true
include:
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 41dd7da..1148f7f 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -24,6 +24,8 @@ RSpec.configure do |c|
if ENV['FUTURE_PARSER'] == 'yes'
c.parser='future'
end
+
+ Puppet.features.stubs(:root?).returns(true)
end
c.after :each do