diff options
Diffstat (limited to 'activesupport/test/json/encoding_test.rb')
-rw-r--r-- | activesupport/test/json/encoding_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/json/encoding_test.rb b/activesupport/test/json/encoding_test.rb index b734729988..e4e13c3f25 100644 --- a/activesupport/test/json/encoding_test.rb +++ b/activesupport/test/json/encoding_test.rb @@ -125,7 +125,7 @@ class TestJSONEncoding < Test::Unit::TestCase end def test_wide_utf8_roundtrip - hash = { string: "𐒑" } + hash = { :string => "𐒑" } json = ActiveSupport::JSON.encode(hash) decoded_hash = ActiveSupport::JSON.decode(json) assert_equal "𐒑", decoded_hash['string'] |