test/suggest_test.rb in searchkick-2.3.1 vs test/suggest_test.rb in searchkick-2.3.2

- old
+ new

@@ -67,10 +67,10 @@ assert_suggest "How Big is a Tigre Shar", "how big is a tiger shark", fields: [{"name^2" => :word_start}] end def test_multiple_models store_names ["Great White Shark", "Hammerhead Shark", "Tiger Shark"] - assert_equal "how big is a tiger shark", Searchkick.search("How Big is a Tigre Shar", suggest: [:name]).suggestions.first + assert_equal "how big is a tiger shark", Searchkick.search("How Big is a Tigre Shar", suggest: [:name], fields: [:name]).suggestions.first end def test_multiple_models_no_fields store_names ["Great White Shark", "Hammerhead Shark", "Tiger Shark"] assert_raises(ArgumentError) { Searchkick.search("How Big is a Tigre Shar", suggest: true) }