From 2cbc9ef43cd4f2d3fc3d97f5472d10c29e04792f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micka=C3=ABl=20Can=C3=A9vet?=
 <mickael.canevet@camptocamp.com>
Date: Fri, 23 Jan 2015 09:00:05 +0100
Subject: [PATCH] Update with msync

---
 .travis.yml         | 2 +-
 spec/spec_helper.rb | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index ad87561..c464fd4 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
-- 
GitLab