test/extensions_test.rb in json_builder-3.1.6 vs test/extensions_test.rb in json_builder-3.1.7
- old
+ new
@@ -43,9 +43,13 @@
def test_bson_objectid_value
assert_respond_to BSON::ObjectId.new, :to_builder
end
+ def test_moped_bson_objectid_value
+ assert_respond_to Moped::BSON::ObjectId.new, :to_builder
+ end
+
def test_custom_class
assert_respond_to Dozer.new('hello'), :to_builder
end
end