summaryrefslogtreecommitdiff
path: root/spec/unit/mixin/shell_out_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/mixin/shell_out_spec.rb')
-rw-r--r--spec/unit/mixin/shell_out_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/mixin/shell_out_spec.rb b/spec/unit/mixin/shell_out_spec.rb
index c7ca56fe84..f325f687d9 100644
--- a/spec/unit/mixin/shell_out_spec.rb
+++ b/spec/unit/mixin/shell_out_spec.rb
@@ -32,7 +32,7 @@ describe Chef::Mixin::ShellOut do
let(:output) { StringIO.new }
let!(:capture_log_output) { Chef::Log.logger = Logger.new(output) }
- let(:assume_deprecation_log_level) { Chef::Log.stub!(:level).and_return(:warn) }
+ let(:assume_deprecation_log_level) { Chef::Log.stub(:level).and_return(:warn) }
context 'without options' do
let(:command_args) { [ cmd ] }