diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-15 11:21:33 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-15 11:21:33 +0300 |
commit | ceadda2e94ca44210a3ed96c3049b59cf06f9f6e (patch) | |
tree | ef697a1b9d0e67ed579072b3fb836b92f60a5b37 | |
parent | 5f5dc91140dd4513f3eee06d82618eedd31bb170 (diff) | |
download | rails-ceadda2e94ca44210a3ed96c3049b59cf06f9f6e.tar.gz rails-ceadda2e94ca44210a3ed96c3049b59cf06f9f6e.tar.bz2 rails-ceadda2e94ca44210a3ed96c3049b59cf06f9f6e.zip |
Fix rubocop violations
https://codeclimate.com/github/rails/rails/issues
`bundle exec rubocop -a`
Related to e4e1b62007fe40c4277ebc30067837a91bf25967
-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" } |