test/functional/test_caching.rb in mongo_mapper-0.8.3 vs test/functional/test_caching.rb in mongo_mapper-0.8.4
- old
+ new
@@ -31,10 +31,10 @@
end
end
context "not new" do
setup do
- @object_id = BSON::ObjectID.new
+ @object_id = BSON::ObjectId.new
@doc = @klass.new
@doc.stubs(:new?).returns(false)
@doc.stubs(:id).returns(@object_id)
end
\ No newline at end of file