summaryrefslogtreecommitdiffstats
path: root/spec/integration/defaults.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/defaults.rb')
-rwxr-xr-xspec/integration/defaults.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/integration/defaults.rb b/spec/integration/defaults.rb
index 681b5d121..35ac3b12b 100755
--- a/spec/integration/defaults.rb
+++ b/spec/integration/defaults.rb
@@ -44,6 +44,7 @@ describe "Puppet defaults" do
end
it "should use the service user and group for the yamldir" do
+ Puppet.settings.stubs(:service_user_available?).returns true
Puppet.settings.setting(:yamldir).owner.should == Puppet.settings[:user]
Puppet.settings.setting(:yamldir).group.should == Puppet.settings[:group]
end