test/value_test.rb in json_builder-3.1.2 vs test/value_test.rb in json_builder-3.1.3
- old
+ new
@@ -62,6 +62,10 @@
end
def test_custom_class
assert_equal '"olleh"', value(Dozer.new('hello'))
end
+
+ def test_double_quoted_value
+ assert_equal '"\"hello\""', value('"hello"')
+ end
end