summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-07-24 21:05:46 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-07-24 21:05:46 -0700
commit78ba4011a43986b68c88900dc9420c62c0720231 (patch)
treebc0ea1f1bed36fc1f2a644a4f27802c7064297fe /spec
parent22fd71c2f9590967ac9d0d1e99fe1ac76b73f392 (diff)
downloadchef-78ba4011a43986b68c88900dc9420c62c0720231.tar.gz
and don't forget to fix the test i just added...lcg/data-collector-exception-handling
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/data_collector_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/data_collector_spec.rb b/spec/unit/data_collector_spec.rb
index dc26ba5c43..2f33a429fc 100644
--- a/spec/unit/data_collector_spec.rb
+++ b/spec/unit/data_collector_spec.rb
@@ -956,7 +956,7 @@ describe Chef::DataCollector do
# this is different specifically for 404s
it "logs an info message and does not raise an exception when raise_on_failure is disabled" do
Chef::Config[:data_collector][:raise_on_failure] = false
- expect(Chef::Log).to receive(:info).with(/This is normal if you do not have Chef Automate/)
+ expect(Chef::Log).to receive(:debug).with(/This is normal if you do not have Chef Automate/)
data_collector.send(:send_to_data_collector, message)
end
end