diff options
Diffstat (limited to 'spec/unit/application_spec.rb')
-rw-r--r-- | spec/unit/application_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application_spec.rb b/spec/unit/application_spec.rb index 25ef7fb532..29c382caa9 100644 --- a/spec/unit/application_spec.rb +++ b/spec/unit/application_spec.rb @@ -187,7 +187,7 @@ describe Chef::Application do allow(Chef::Log).to receive(:level=) @monologger = double("Monologger") expect(MonoLogger).to receive(:new).with(Chef::Config[:log_location]).and_return(@monologger) - expect(MonoLogger).to receive(:new).with(STDOUT).and_return(@monologger) + allow(MonoLogger).to receive(:new).with(STDOUT).and_return(@monologger) expect(@monologger).to receive(:formatter=).with(Chef::Log.logger.formatter) expect(Chef::Log).to receive(:init).with(@monologger) @app.configure_logging |