Permalink
Browse files

Use 1.8 style hash in json encoding test

  • Loading branch information...
carlosantoniodasilva committed Dec 15, 2012
1 parent 815a943 commit df048b574b5ab5a449a3b1dfc50dbf3baa18869e
Showing with 1 addition and 1 deletion.
  1. +1 βˆ’1 activesupport/test/json/encoding_test.rb
@@ -125,7 +125,7 @@ def test_wide_utf8_chars
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']

0 comments on commit df048b5

Please sign in to comment.