aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-14 23:33:53 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-14 23:33:53 -0200
commitdf048b574b5ab5a449a3b1dfc50dbf3baa18869e (patch)
tree430804f2841da2fe29930b3e4ad6c32816e56d44 /activesupport
parent815a9431ab61376a7e8e1bdff21f87bc557992f8 (diff)
downloadrails-df048b574b5ab5a449a3b1dfc50dbf3baa18869e.tar.gz
rails-df048b574b5ab5a449a3b1dfc50dbf3baa18869e.tar.bz2
rails-df048b574b5ab5a449a3b1dfc50dbf3baa18869e.zip
Use 1.8 style hash in json encoding test
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/json/encoding_test.rb2
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']