summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook/metadata_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-09-09 10:50:41 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-09-21 10:37:59 -0700
commit8e3449879785b7572c0a9910cb4b2565413b713c (patch)
tree0c609667b38c4c139a377b0d4287751a7758608a /spec/unit/cookbook/metadata_spec.rb
parent723bac74427f6f605fd2c9ab855afe59ba84d08b (diff)
downloadchef-8e3449879785b7572c0a9910cb4b2565413b713c.tar.gz
drop warn all the way down to debuglcg/ignore-unknown-metdata-rb-fields
we expect this to be forward compat, so that all this turns into is a nag message to upgrade which is probably better just not to display Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/cookbook/metadata_spec.rb')
-rw-r--r--spec/unit/cookbook/metadata_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/cookbook/metadata_spec.rb b/spec/unit/cookbook/metadata_spec.rb
index a6c85bd397..389f02501a 100644
--- a/spec/unit/cookbook/metadata_spec.rb
+++ b/spec/unit/cookbook/metadata_spec.rb
@@ -950,7 +950,7 @@ describe Chef::Cookbook::Metadata do
describe "from_file" do
it "ignores unknown metadata fields in metadata.rb files" do
- expect(Chef::Log).to receive(:warn).with(/ignoring method some_spiffy_new_metadata_field/)
+ expect(Chef::Log).to receive(:debug).with(/ignoring method some_spiffy_new_metadata_field/)
Tempfile.open("metadata.rb") do |f|
f.write <<-EOF
some_spiffy_new_metadata_field "stuff its set to"