From af5dd491b5e204570aac84eb828ea7d5b1e6f7e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 17 Jan 2017 22:10:14 -0500 Subject: Fix all rubocop violations --- actionpack/test/controller/parameters/nested_parameters_permit_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/test/controller/parameters/nested_parameters_permit_test.rb b/actionpack/test/controller/parameters/nested_parameters_permit_test.rb index 138d83726c..00e591d5a7 100644 --- a/actionpack/test/controller/parameters/nested_parameters_permit_test.rb +++ b/actionpack/test/controller/parameters/nested_parameters_permit_test.rb @@ -141,7 +141,7 @@ class NestedParametersPermitTest < ActiveSupport::TestCase assert_equal "Unattributed Assistant", permitted[:book][:authors_attributes]["1"][:name] assert_equal( - {"book"=>{"authors_attributes"=>{"0"=>{"name"=>"William Shakespeare"}, "1"=>{"name"=>"Unattributed Assistant"}, "2"=>{}}}}, + { "book" => { "authors_attributes" => { "0" => { "name" => "William Shakespeare" }, "1" => { "name" => "Unattributed Assistant" }, "2" => {} } } }, permitted.to_h ) -- cgit v1.2.3