From 6077b99f6ad1bc9a082f575f3818e69f05d8c8dc Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 18 Feb 2016 18:39:11 -0800 Subject: deal with 0.37.2 renamed cops 252 Style/TrailingCommaInLiteral 84 Style/TrailingCommaInArguments 15 Style/SpaceAroundKeyword -- 351 Total We already dealt with SpaceAroundKeyword under its old name SpaceBeforeModifierKeyword, it looks like it got stricter about spaces after keywords. TrailingComma also got split, and it looks like the TrailingCommaInArguments behavior is new? --- spec/integration/knife/deps_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/integration/knife/deps_spec.rb') diff --git a/spec/integration/knife/deps_spec.rb b/spec/integration/knife/deps_spec.rb index d80fb77634..358635d0de 100644 --- a/spec/integration/knife/deps_spec.rb +++ b/spec/integration/knife/deps_spec.rb @@ -357,7 +357,7 @@ EOM before { file "cookbooks/blah/metadata.rb", 'name "blah"' } it "knife deps on a cookbook file shows no dependencies" do knife("deps /cookbooks/blah/metadata.rb").should_succeed( - "/cookbooks/blah/metadata.rb\n" + "/cookbooks/blah/metadata.rb\n", ) end end @@ -693,7 +693,7 @@ EOM end it "knife deps on a cookbook file shows no dependencies" do knife("deps --remote /cookbooks/blah/metadata.rb").should_succeed( - "/cookbooks/blah/metadata.rb\n" + "/cookbooks/blah/metadata.rb\n", ) end end -- cgit v1.2.1