mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix rubocop violations
https://codeclimate.com/github/rails/rails/issues
`bundle exec rubocop -a`
Related to e4e1b62007
This commit is contained in:
parent
5f5dc91140
commit
ceadda2e94
1 changed files with 1 additions and 1 deletions
|
@ -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" }
|
||||
|
|
Loading…
Reference in a new issue