1
0
Fork 0
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:
bogdanvlviv 2018-06-15 11:21:33 +03:00
parent 5f5dc91140
commit ceadda2e94
No known key found for this signature in database
GPG key ID: E4ACD76A6DB6DFDD

View file

@ -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" }