spec/support/feed/item.rb in mongoid-scroll-0.2.1 vs spec/support/feed/item.rb in mongoid-scroll-0.3.0
- old
+ new
@@ -1,8 +1,9 @@
module Feed
class Item
include Mongoid::Document
+ field :name, type: String
field :a_integer, type: Integer
field :a_string, type: String
field :a_datetime, type: DateTime
field :a_date, type: Date
field :a_time, type: Time