spec/models/mongoid.rb in activesearch-0.1.0 vs spec/models/mongoid.rb in activesearch-0.1.1

- old
+ new

@@ -12,10 +12,12 @@ field :title, type: String field :text, type: String field :junk, type: String field :special, type: Boolean, default: false field :scope_id, type: Integer - search_by [:title, :text, store: [:title, :junk, :scope_id]], unless: :special + field :tags, type: Array + + search_by [:title, :text, :tags, store: [:title, :junk, :scope_id]], unless: :special end class AnotherMongoidModel include Mongoid::Document include ActiveSearch::Mongoid \ No newline at end of file