spec/models/mongoid/entry.rb in bullet-4.6.0 vs spec/models/mongoid/entry.rb in bullet-4.7.0
- old
+ new
@@ -1,5 +1,7 @@
class Mongoid::Entry
include Mongoid::Document
+ field :name
+
belongs_to :category, :class_name => "Mongoid::Category"
end