diff options
author | Florian Frank <flori@ping.de> | 2013-05-10 17:53:09 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2013-05-13 10:53:25 +0200 |
commit | 6a8589c84d148b4f466a059bccd27ec59f54f64e (patch) | |
tree | b3453a2ef23a1b378455fb3c408dd62c03b67851 /tests | |
parent | e84d0cc31c8703f3120d49a0359b2d4b504e288c (diff) | |
download | json-6a8589c84d148b4f466a059bccd27ec59f54f64e.tar.gz |
forgot about 1.8 again
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_json_generic_object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_json_generic_object.rb b/tests/test_json_generic_object.rb index c196f44..c43c776 100644 --- a/tests/test_json_generic_object.rb +++ b/tests/test_json_generic_object.rb @@ -61,7 +61,7 @@ class TestJSONGenericObject < Test::Unit::TestCase assert_equal "world", converting.hello json = JSON::GenericObject.dump(JSON::GenericObject[:hello => 'world']) - assert_equal json, '{"json_class":"JSON::GenericObject","hello":"world"}' + assert_equal JSON(json), JSON('{"json_class":"JSON::GenericObject","hello":"world"}') end private |