diff options
Diffstat (limited to 'activesupport/test/core_ext/object')
-rw-r--r-- | activesupport/test/core_ext/object/to_query_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/test/core_ext/object/to_query_test.rb b/activesupport/test/core_ext/object/to_query_test.rb index aaa7e69acb..2eff475274 100644 --- a/activesupport/test/core_ext/object/to_query_test.rb +++ b/activesupport/test/core_ext/object/to_query_test.rb @@ -54,15 +54,15 @@ class ToQueryTest < ActiveSupport::TestCase assert_equal "", {}.to_query assert_query_equal "a=1&b%5Bc%5D=3", - { a: 1, b: { c: 3, d: {} } } + a: 1, b: { c: 3, d: {} } assert_query_equal "", - { a: {b: {c: {}}} } + a: {b: {c: {}}} assert_query_equal "b%5Bc%5D=false&b%5Be%5D=&b%5Bf%5D=&p=12", - { p: 12, b: { c: false, e: nil, f: "" } } + p: 12, b: { c: false, e: nil, f: "" } assert_query_equal "b%5Bc%5D=3&b%5Bf%5D=", - { b: { c: 3, k: {}, f: "" } } + b: { c: 3, k: {}, f: "" } assert_query_equal "b=3", - {a: [], b: 3} + a: [], b: 3 end def test_hash_with_namespace |