summaryrefslogtreecommitdiff
path: root/spec/integration
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-01-22 14:34:22 -0800
committerTim Smith <tsmith@chef.io>2019-01-22 14:56:18 -0800
commitd5286ce763953b986b72b368d86e5fe5aa9d9106 (patch)
treec102fc8700f5ca3ad78344f25f928f196806f37b /spec/integration
parent4db8079fdbbdb88d468d03b87529ddaf88701b50 (diff)
downloadchef-d5286ce763953b986b72b368d86e5fe5aa9d9106.tar.gz
Remove 'attributes' attribute from cookbook metadata
We have a foodcritic rule to tell people not to do this It's not being used anywhere and is just a pile of code we run for no reason We should start warning that it's an unknown attribute when cookbooks contain these as it's wasted effort on the part of cookbook authors Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/integration')
-rw-r--r--spec/integration/knife/cookbook_show_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/integration/knife/cookbook_show_spec.rb b/spec/integration/knife/cookbook_show_spec.rb
index 7b894efe30..8ebd5403ae 100644
--- a/spec/integration/knife/cookbook_show_spec.rb
+++ b/spec/integration/knife/cookbook_show_spec.rb
@@ -40,7 +40,6 @@ describe "knife cookbook show", :workstation do
cookbook_name: x
frozen?: false
metadata:
- attributes:
chef_versions:
dependencies:
description:
@@ -87,7 +86,6 @@ describe "knife cookbook show", :workstation do
it "knife cookbook show x 1.0.0 metadata shows the metadata" do
knife("cookbook show x 1.0.0 metadata").should_succeed <<~EOM
- attributes:
chef_versions:
dependencies:
description: