summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook/metadata_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-12 09:13:27 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-12 09:13:27 -0800
commitc7194aea7c145b94c46a97dd3f218aff1b0116c2 (patch)
treeace42539d941f3d0899754fcd60683c24e2e79d8 /spec/unit/cookbook/metadata_spec.rb
parentd223b8bab095567c832dd6fe14f4068228da6c87 (diff)
parentd68bd578761780618e73ce1443788c463d73fe67 (diff)
downloadchef-c7194aea7c145b94c46a97dd3f218aff1b0116c2.tar.gz
Merge pull request #4380 from chef/lcg/lint-cops
fix some lint cops
Diffstat (limited to 'spec/unit/cookbook/metadata_spec.rb')
-rw-r--r--spec/unit/cookbook/metadata_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/cookbook/metadata_spec.rb b/spec/unit/cookbook/metadata_spec.rb
index f8e96ad475..fbd07f7e69 100644
--- a/spec/unit/cookbook/metadata_spec.rb
+++ b/spec/unit/cookbook/metadata_spec.rb
@@ -582,7 +582,7 @@ describe Chef::Cookbook::Metadata do
expect {
metadata.attribute("db/mysql/databases", :type => "hash")
}.not_to raise_error
- end
+ end
it "should let required be required, recommended or optional" do
expect {
@@ -720,7 +720,7 @@ describe Chef::Cookbook::Metadata do
}
metadata.attribute("db/mysql/databases", attrs)
}.not_to raise_error
- end
+ end
it "should error if default is not a choice" do
expect {