spec/public/resource_spec.rb in dm-mongo-adapter-0.2.0.pre1 vs spec/public/resource_spec.rb in dm-mongo-adapter-0.2.0.pre2
- old
+ new
@@ -7,11 +7,10 @@
include DataMapper::Mongo::EmbeddedResource
property :city, String
property :state, String
end
- class ::Location
- include DataMapper::Mongo::EmbeddedResource
+ class ::Location < ::Address
property :country, String
property :continent, String
end
class ::User