diff options
-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 |