spec/models/advanced_artwork.rb in mongoid_fulltext-0.6.1 vs spec/models/advanced_artwork.rb in mongoid_fulltext-0.7.0
- old
+ new
@@ -1,7 +1,7 @@
class AdvancedArtwork
include Mongoid::Document
include Mongoid::FullTextSearch
field :title
- fulltext_search_in :title, :ngram_width => 4, :alphabet => 'abcdefg'
+ fulltext_search_in :title, ngram_width: 4, alphabet: 'abcdefg'
end