summaryrefslogtreecommitdiff
path: root/spec/unit/search
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/unit/search
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/unit/search')
-rw-r--r--spec/unit/search/query_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/unit/search/query_spec.rb b/spec/unit/search/query_spec.rb
index b23f0277d6..7f815f1757 100644
--- a/spec/unit/search/query_spec.rb
+++ b/spec/unit/search/query_spec.rb
@@ -98,8 +98,8 @@ describe Chef::Search::Query do
"platform" => "nudibranch",
"version" => "1.9.3",
"target" => "ming-the-merciless",
- }
- }
+ },
+ },
},
},
{ "name" => "my-name-is-jonas",
@@ -112,8 +112,8 @@ describe Chef::Search::Query do
"platform" => "i386-mingw32",
"version" => "1.9.3",
"target" => "bilbo",
- }
- }
+ },
+ },
},
},
{ "name" => "my-name-is-flipper",
@@ -126,8 +126,8 @@ describe Chef::Search::Query do
"platform" => "centos",
"version" => "2.0.0",
"target" => "uno",
- }
- }
+ },
+ },
},
},
{ "name" => "my-name-is-butters",
@@ -140,8 +140,8 @@ describe Chef::Search::Query do
"platform" => "solaris2",
"version" => "2.1.2",
"target" => "random",
- }
- }
+ },
+ },
},
},
],