diff options
author | Isa Farnik <isa@chef.io> | 2015-12-29 00:02:55 -0800 |
---|---|---|
committer | Isa Farnik <isa@chef.io> | 2016-01-12 12:51:29 -0800 |
commit | f822e4d06af4ddd89c712f6e5d95065682e97489 (patch) | |
tree | 20e37c0d26d68089f98afca7c829302907df2f1e /spec/unit/lwrp_spec.rb | |
parent | 29f39ec8045e159aebb15d583314d8d3d746e345 (diff) | |
download | chef-f822e4d06af4ddd89c712f6e5d95065682e97489.tar.gz |
debug log messages upon reloaded resourcesif/warn-on-reload-resource
tests for debug messages when reloading resources
Diffstat (limited to 'spec/unit/lwrp_spec.rb')
-rw-r--r-- | spec/unit/lwrp_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb index 7f6d315bbb..13d9f6acc7 100644 --- a/spec/unit/lwrp_spec.rb +++ b/spec/unit/lwrp_spec.rb @@ -84,7 +84,7 @@ describe "LWRP" do end Dir[File.expand_path( "lwrp/resources/*", CHEF_SPEC_DATA)].each do |file| - expect(Chef::Log).to receive(:info).with(/Skipping/) + expect(Chef::Log).to receive(:debug).with(/Skipping/) Chef::Resource::LWRPBase.build_from_file("lwrp", file, nil) end end @@ -95,7 +95,7 @@ describe "LWRP" do end Dir[File.expand_path( "lwrp/providers/*", CHEF_SPEC_DATA)].each do |file| - expect(Chef::Log).to receive(:info).with(/Skipping/) + expect(Chef::Log).to receive(:debug).with(/Skipping/) Chef::Provider::LWRPBase.build_from_file("lwrp", file, nil) end end |