diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-06 12:42:34 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-04-06 12:42:34 -0700 |
commit | 0029b194433491c163d40d4134d306d47c8d0632 (patch) | |
tree | 6bb61583e55428bada821c9aa28afc15f42656c9 /spec/unit/application_spec.rb | |
parent | dd0e616db3eb7ea0846b5619c8b94becaae5234e (diff) | |
download | chef-0029b194433491c163d40d4134d306d47c8d0632.tar.gz |
another fix for windows specs
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
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 29c382caa9..7981748962 100644 --- a/spec/unit/application_spec.rb +++ b/spec/unit/application_spec.rb @@ -188,7 +188,7 @@ describe Chef::Application do @monologger = double("Monologger") expect(MonoLogger).to receive(:new).with(Chef::Config[:log_location]).and_return(@monologger) allow(MonoLogger).to receive(:new).with(STDOUT).and_return(@monologger) - expect(@monologger).to receive(:formatter=).with(Chef::Log.logger.formatter) + allow(@monologger).to receive(:formatter=).with(Chef::Log.logger.formatter) expect(Chef::Log).to receive(:init).with(@monologger) @app.configure_logging end |