summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-04-06 11:59:32 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-04-06 11:59:45 -0700
commitdd0e616db3eb7ea0846b5619c8b94becaae5234e (patch)
treec0b086acfcb799ef0a6e1ab3157aa4cfe8622614
parent2deb22402a573f3b19177f0d82bc1d65e5860443 (diff)
downloadchef-lcg/restore-log-location.tar.gz
fixing specs for windowslcg/restore-log-location
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/unit/application_spec.rb2
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