summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-01-13 10:25:44 +0000
committerThom May <thom@may.lt>2016-01-13 10:25:44 +0000
commite42f1c30f98ba3adc1437e4f2a9e460f3efb8502 (patch)
tree99980681b6b57b8441ef101ce8c896961876ff07 /spec
parent556e5f2d78b5c6de2f34d8dd655ee515ff317296 (diff)
parentf822e4d06af4ddd89c712f6e5d95065682e97489 (diff)
downloadchef-e42f1c30f98ba3adc1437e4f2a9e460f3efb8502.tar.gz
Merge pull request #4344 from chef/if/warn-on-reload-resource
Warn (v. info) when reloading resources
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/lwrp_spec.rb4
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