From df048b574b5ab5a449a3b1dfc50dbf3baa18869e Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 14 Dec 2012 23:33:53 -0200 Subject: Use 1.8 style hash in json encoding test --- activesupport/test/json/encoding_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/test') 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'] -- cgit v1.2.3