diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-12-25 19:59:45 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-12-25 20:37:21 -0800 |
commit | 1c48a7b9c73e39dc49b03e8196661d1c82f05ac5 (patch) | |
tree | 3d5f1d2e7be47d0834117a37f2ed506685475f7e /spec/integration | |
parent | 07d00d7bc07ccdca7f34abf5bb05ef2d77ebb8dc (diff) | |
download | chef-1c48a7b9c73e39dc49b03e8196661d1c82f05ac5.tar.gz |
Resolve Lint/ParenthesesAsGroupedExpression warningsLint_ParenthesesAsGroupedExpression
Get some consistency here
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/recipes/recipe_dsl_spec.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/integration/recipes/recipe_dsl_spec.rb b/spec/integration/recipes/recipe_dsl_spec.rb index e714465a17..c692915afd 100644 --- a/spec/integration/recipes/recipe_dsl_spec.rb +++ b/spec/integration/recipes/recipe_dsl_spec.rb @@ -204,7 +204,7 @@ describe "Recipe DSL methods" do another_no_name_thingy3("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy3) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy3) end end @@ -234,7 +234,7 @@ describe "Recipe DSL methods" do another_no_name_thingy4("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy4) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy4) end it "and platform_family = foo, another_no_name_thingy4 works" do @@ -244,7 +244,7 @@ describe "Recipe DSL methods" do another_no_name_thingy4("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy4) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy4) end end @@ -273,7 +273,7 @@ describe "Recipe DSL methods" do another_no_name_thingy5("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy5) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy5) end it "the new resource name can be used in a recipe" do @@ -281,7 +281,7 @@ describe "Recipe DSL methods" do another_thingy_name_for_another_no_name_thingy5("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy5) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy5) end end @@ -310,7 +310,7 @@ describe "Recipe DSL methods" do another_no_name_thingy6("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy6) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy6) end it "the new resource name can be used in a recipe" do @@ -318,7 +318,7 @@ describe "Recipe DSL methods" do another_thingy_name_for_another_no_name_thingy6("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy6) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy6) end end @@ -339,7 +339,7 @@ describe "Recipe DSL methods" do another_thingy_name_for_another_no_name_thingy7("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy7) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy7) end it "and os = blarghle, another_thingy_name_for_another_no_name_thingy7 works" do @@ -349,7 +349,7 @@ describe "Recipe DSL methods" do another_thingy_name_for_another_no_name_thingy7("blah") {} end expect(recipe.logged_warnings).to eq "" - expect(BaseThingy.created_resource).to eq (AnotherNoNameThingy7) + expect(BaseThingy.created_resource).to eq(AnotherNoNameThingy7) end it "the old resource name does not work" do |