diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-19 09:28:33 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-19 09:28:33 -0800 |
commit | 92bec4bb96d857f027068fc56af46c76c484fd50 (patch) | |
tree | 2cffea3fc9466d0c5e2baa7cc7630abb0ed7aecb /spec/unit/node_spec.rb | |
parent | 6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (diff) | |
download | chef-92bec4bb96d857f027068fc56af46c76c484fd50.tar.gz |
flip multiline function arguments aroundlcg/rubocop-0.37.2
no enforced trailing comma on arguments...
Diffstat (limited to 'spec/unit/node_spec.rb')
-rw-r--r-- | spec/unit/node_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/node_spec.rb b/spec/unit/node_spec.rb index afb491f13a..29f386aa7d 100644 --- a/spec/unit/node_spec.rb +++ b/spec/unit/node_spec.rb @@ -615,7 +615,7 @@ describe Chef::Node do expect( node["mysql"]["server"] ).to eql({ "data_dir" => "/my_raid_volume/lib/mysql", - },) + }) end it "removes all values from the precedence level when setting" do @@ -631,7 +631,7 @@ describe Chef::Node do expect( node["mysql"]["server"]["data_dir"] ).to eql("/my_raid_volume/lib/mysql") expect( node["mysql"]["server"] ).to eql({ "data_dir" => "/my_raid_volume/lib/mysql", - },) + }) end it "higher precedence levels are not removed" do @@ -649,7 +649,7 @@ describe Chef::Node do expect( node["mysql"]["server"] ).to eql({ "service_name" => "fancypants-sql", "data_dir" => "/my_raid_volume/lib/mysql", - },) + }) end it "will autovivify" do @@ -674,7 +674,7 @@ describe Chef::Node do expect( node["mysql"]["server"] ).to eql({ "service_name" => "fancypants-sql", "data_dir" => "/my_raid_volume/lib/mysql", - },) + }) end it "when overwriting a non-hash/array" do @@ -693,7 +693,7 @@ describe Chef::Node do } expect( node["mysql"]["server"] ).to eql({ "data_dir" => "/my_raid_volume/lib/mysql", - },) + }) end end |