summaryrefslogtreecommitdiff
path: root/spec/integration
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-18 18:39:11 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-18 18:39:11 -0800
commit6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (patch)
treeae132bad653614ae549e6301a01f991f8cf5cb5b /spec/integration
parent8f9a0dbd88de3014161bebfef7a02821e0010a37 (diff)
downloadchef-6077b99f6ad1bc9a082f575f3818e69f05d8c8dc.tar.gz
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?
Diffstat (limited to 'spec/integration')
-rw-r--r--spec/integration/knife/deps_spec.rb4
-rw-r--r--spec/integration/knife/download_spec.rb4
-rw-r--r--spec/integration/knife/upload_spec.rb4
3 files changed, 6 insertions, 6 deletions
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
diff --git a/spec/integration/knife/download_spec.rb b/spec/integration/knife/download_spec.rb
index 2c9f64b61a..d9a3f4fe87 100644
--- a/spec/integration/knife/download_spec.rb
+++ b/spec/integration/knife/download_spec.rb
@@ -1192,7 +1192,7 @@ EOM
"policies" => {
"x" => { "revision_id" => "1.0.0" },
"blah" => { "revision_id" => "1.0.0" },
- }
+ },
}
role "x", {}
end
@@ -1283,7 +1283,7 @@ EOM
"policies" => {
"x" => { "revision_id" => "1.0.1" },
"y" => { "revision_id" => "1.0.0" },
- }
+ },
}
file "roles/x.json", { "run_list" => [ "blah" ] }
end
diff --git a/spec/integration/knife/upload_spec.rb b/spec/integration/knife/upload_spec.rb
index 5d136968dd..1d32fe1e49 100644
--- a/spec/integration/knife/upload_spec.rb
+++ b/spec/integration/knife/upload_spec.rb
@@ -1349,7 +1349,7 @@ EOM
"policies" => {
"x" => { "revision_id" => "1.0.0" },
"blah" => { "revision_id" => "1.0.0" },
- }
+ },
}
role "x", {}
end
@@ -1403,7 +1403,7 @@ EOM
"policies" => {
"x" => { "revision_id" => "1.0.1" },
"y" => { "revision_id" => "1.0.0" },
- }
+ },
}
role "x", { "run_list" => [ "blah" ] }
end