summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook/metadata_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-12 08:06:02 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-12 08:06:02 -0800
commitd68bd578761780618e73ce1443788c463d73fe67 (patch)
tree4867db762be1873e8a50e787b1bbd46e58a180b7 /spec/unit/cookbook/metadata_spec.rb
parent0944320b72ee1ab16a18a149f5ecb743ace0c0d3 (diff)
downloadchef-d68bd578761780618e73ce1443788c463d73fe67.tar.gz
fix some lint cops
fixes the following offenses: 46 Lint/EndAlignment 21 Lint/BlockAlignment 3 Lint/SpaceBeforeFirstArg 1 Lint/DefEndAlignment
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 {