summaryrefslogtreecommitdiff
path: root/spec/unit/mixin/command_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/mixin/command_spec.rb')
-rw-r--r--spec/unit/mixin/command_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/command_spec.rb b/spec/unit/mixin/command_spec.rb
index a2a2fef461..96660be436 100644
--- a/spec/unit/mixin/command_spec.rb
+++ b/spec/unit/mixin/command_spec.rb
@@ -76,7 +76,7 @@ describe Chef::Mixin::Command, :volatile do
include Chef::Mixin::Command
it "logs the command's stderr and stdout output if the command failed" do
- Chef::Log.stub!(:level).and_return(:debug)
+ Chef::Log.stub(:level).and_return(:debug)
begin
run_command(:command => "sh -c 'echo hello; echo world >&2; false'")
violated "Exception expected, but nothing raised."