diff options
Diffstat (limited to 'spec/unit/application')
| -rw-r--r-- | spec/unit/application/master.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/master.rb b/spec/unit/application/master.rb index 54336c10e..f082ece16 100644 --- a/spec/unit/application/master.rb +++ b/spec/unit/application/master.rb @@ -391,7 +391,7 @@ describe Puppet::Application::Master do end it "should drop privileges if running as root" do - Process.stubs(:uid).returns(0) + Puppet.features.stubs(:root?).returns true Puppet::Util.expects(:chuser) |
