diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-24 21:05:46 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-24 21:05:46 -0700 |
commit | 78ba4011a43986b68c88900dc9420c62c0720231 (patch) | |
tree | bc0ea1f1bed36fc1f2a644a4f27802c7064297fe /spec | |
parent | 22fd71c2f9590967ac9d0d1e99fe1ac76b73f392 (diff) | |
download | chef-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.rb | 2 |
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 |