aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickaël Canévet <mickael.canevet@camptocamp.com>2015-01-23 08:58:09 +0100
committerMickaël Canévet <mickael.canevet@camptocamp.com>2015-01-23 08:58:09 +0100
commite9e054321e08c271e0778af6d15fa146c69c62fd (patch)
tree04ccc8247e55ba4dbd7e1a55a342fe389fe1777f
parent0749a39a8ddb0d98b58d108f8565a91ba972a989 (diff)
downloadpuppet-dhcp-e9e054321e08c271e0778af6d15fa146c69c62fd.tar.gz
puppet-dhcp-e9e054321e08c271e0778af6d15fa146c69c62fd.tar.bz2
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 033f974..51562b5 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