test/functional/test_protected.rb in mongo_mapper-0.7.2 vs test/functional/test_protected.rb in mongo_mapper-0.7.3
- old
+ new
@@ -74,12 +74,10 @@
context "Single collection inherited protected attributes" do
setup do
class ::GrandParent
include MongoMapper::Document
- key :_type, String
key :site_id, ObjectId
-
attr_protected :site_id
end
GrandParent.collection.remove
class ::Child < ::GrandParent