spec/support/feed/item.rb in mongoid-scroll-1.0.1 vs spec/support/feed/item.rb in mongoid-scroll-2.0.0

- old
+ new

@@ -11,9 +11,9 @@ field :a_array, type: Array embeds_many :embedded_items, class_name: 'Feed::EmbeddedItem' publisher_options = { class_name: 'Feed::Publisher' } - publisher_options[:optional] = true if Mongoid::Compatibility::Version.mongoid6_or_newer? + publisher_options[:optional] = true belongs_to :publisher, publisher_options end end