diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-06 10:29:45 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-06 10:29:45 -0700 |
commit | 2deb22402a573f3b19177f0d82bc1d65e5860443 (patch) | |
tree | f6fce033851db6852596b14088a3e019c7a6470d | |
parent | 4c01ebf6a35f221461c93bd915312f2703af8b29 (diff) | |
download | chef-2deb22402a573f3b19177f0d82bc1d65e5860443.tar.gz |
fix spec
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/application_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/application_spec.rb b/spec/unit/application_spec.rb index 72921c90ca..25ef7fb532 100644 --- a/spec/unit/application_spec.rb +++ b/spec/unit/application_spec.rb @@ -187,6 +187,8 @@ 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) + expect(@monologger).to receive(:formatter=).with(Chef::Log.logger.formatter) expect(Chef::Log).to receive(:init).with(@monologger) @app.configure_logging end |