diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-06-15 19:34:05 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 19:34:05 +0900 |
commit | 77efa0748446122c2562a2274ffa924ea857dfac (patch) | |
tree | ef697a1b9d0e67ed579072b3fb836b92f60a5b37 /actionpack/test | |
parent | 5f5dc91140dd4513f3eee06d82618eedd31bb170 (diff) | |
parent | ceadda2e94ca44210a3ed96c3049b59cf06f9f6e (diff) | |
download | rails-77efa0748446122c2562a2274ffa924ea857dfac.tar.gz rails-77efa0748446122c2562a2274ffa924ea857dfac.tar.bz2 rails-77efa0748446122c2562a2274ffa924ea857dfac.zip |
Merge pull request #33140 from bogdanvlviv/fix-rubocop-violations
Fix rubocop violations
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/test_case_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index d4620d085a..663832e9bb 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -224,7 +224,7 @@ XML end def test_params_round_trip - params = {"foo"=>{"contents"=>[{"name"=>"gorby", "id"=>"123"}, {"name"=>"puff", "d"=>"true"}]}} + params = { "foo" => { "contents" => [{ "name" => "gorby", "id" => "123" }, { "name" => "puff", "d" => "true" }] } } post :test_params, params: params.dup controller_info = { "controller" => "test_case_test/test", "action" => "test_params" } |