diff options
Diffstat (limited to 'spec/unit/data_collector_spec.rb')
-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 |