spec/models/mongoid/company.rb in bullet-4.6.0 vs spec/models/mongoid/company.rb in bullet-4.7.0
- old
+ new
@@ -1,5 +1,7 @@
class Mongoid::Company
include Mongoid::Document
+ field :name
+
has_one :address, :class_name => "Mongoid::Address"
end