diff options
Diffstat (limited to 'spec/unit/daemon_spec.rb')
-rw-r--r-- | spec/unit/daemon_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/daemon_spec.rb b/spec/unit/daemon_spec.rb index 8d66e08511..69ca2ed321 100644 --- a/spec/unit/daemon_spec.rb +++ b/spec/unit/daemon_spec.rb @@ -79,7 +79,7 @@ describe Chef::Daemon do end it "changes the working directory to root" do - Dir.rspec_reset + reset Dir Dir.should_receive(:chdir).with("/").and_return(0) Chef::Daemon.change_privilege end |