spec/models/stopwords_artwork.rb in mongoid_fulltext-0.6.1 vs spec/models/stopwords_artwork.rb in mongoid_fulltext-0.7.0

- old
+ new

@@ -1,10 +1,9 @@ class StopwordsArtwork include Mongoid::Document include Mongoid::FullTextSearch field :title - fulltext_search_in :title, - :index_full_words => true, - :stop_words => { 'and' => true, 'by' => true} - + fulltext_search_in :title, + index_full_words: true, + stop_words: { 'and' => true, 'by' => true } end