spec/contexts/ids_spec.rb in mongo_doc-0.3.2 vs spec/contexts/ids_spec.rb in mongo_doc-0.4.0

- old
+ new

@@ -4,11 +4,11 @@ class Address include MongoDoc::Document include MongoDoc::Matchers - key :number - key :street + attr_accessor :number + attr_accessor :street end let(:criteria) { Mongoid::Criteria.new(Address) } let(:context) { criteria.context }