From 6a8589c84d148b4f466a059bccd27ec59f54f64e Mon Sep 17 00:00:00 2001 From: Florian Frank Date: Fri, 10 May 2013 17:53:09 +0200 Subject: forgot about 1.8 again --- tests/test_json_generic_object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1