summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-11-16 10:05:55 -0800
committerPete Higgins <pete@peterhiggins.org>2020-11-16 10:05:55 -0800
commit44bbab4feeab914b38c05430dba8c402e87e30f7 (patch)
treecaed25f55def12f43d1cbacdcb5208367fe1c9c9
parent4acb838346a77c31983ed9c7544a6a37a1227ee7 (diff)
downloadohai-44bbab4feeab914b38c05430dba8c402e87e30f7.tar.gz
Update mock logger to fix shellout specs.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-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 76e2e178..7d08d9ff 100644
--- a/spec/unit/mixin/shell_out_spec.rb
+++ b/spec/unit/mixin/shell_out_spec.rb
@@ -52,7 +52,7 @@ describe Ohai::Mixin::ShellOut, "shell_out" do
}
end
- let(:logger) { instance_double("Mixlib::Log::Child", trace: nil, debug: nil, warn: nil, trace?: false) }
+ let(:logger) { instance_double("Mixlib::Log::Child", trace: nil, debug: nil, warn: nil, trace?: false, debug?: false) }
class DummyPlugin
include Ohai::Mixin::ShellOut