diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-12 08:06:02 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-12 08:06:02 -0800 |
commit | d68bd578761780618e73ce1443788c463d73fe67 (patch) | |
tree | 4867db762be1873e8a50e787b1bbd46e58a180b7 /spec/unit/cookbook/metadata_spec.rb | |
parent | 0944320b72ee1ab16a18a149f5ecb743ace0c0d3 (diff) | |
download | chef-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.rb | 4 |
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 { |