summaryrefslogtreecommitdiff
path: root/spec/unit/mixin
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/mixin')
-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 e9fabfd0a7..2dedd7d364 100644
--- a/spec/unit/mixin/shell_out_spec.rb
+++ b/spec/unit/mixin/shell_out_spec.rb
@@ -53,7 +53,7 @@ describe Chef::Mixin::ShellOut do
def self.should_emit_deprecation_warning_about(old_option, new_option)
it "should emit a deprecation warning" do
- assume_deprecation_log_level and capture_log_output
+ assume_deprecation_log_level && capture_log_output
subject
expect(output.string).to match /DEPRECATION:/
expect(output.string).to match Regexp.escape(old_option.to_s)