diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-17 22:10:14 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-01-17 22:10:14 -0500 |
commit | af5dd491b5e204570aac84eb828ea7d5b1e6f7e9 (patch) | |
tree | 0a3b9510678848704ccc3b4644f49dca326e583e /actionpack/test | |
parent | 88cfcbb33a33c65aed23de1386bc21a3b4a0772f (diff) | |
download | rails-af5dd491b5e204570aac84eb828ea7d5b1e6f7e9.tar.gz rails-af5dd491b5e204570aac84eb828ea7d5b1e6f7e9.tar.bz2 rails-af5dd491b5e204570aac84eb828ea7d5b1e6f7e9.zip |
Fix all rubocop violations
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/parameters/nested_parameters_permit_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |