summaryrefslogtreecommitdiff
path: root/spec/unit/node_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
commit92bec4bb96d857f027068fc56af46c76c484fd50 (patch)
tree2cffea3fc9466d0c5e2baa7cc7630abb0ed7aecb /spec/unit/node_spec.rb
parent6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (diff)
downloadchef-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.rb10
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