test/multi_search_test.rb in searchkick-2.5.0 vs test/multi_search_test.rb in searchkick-3.0.0
- old
+ new
@@ -22,16 +22,9 @@
def test_misspellings_below_unmet
store_names ["abc", "abd", "aee"]
products = Product.search("abc", misspellings: {below: 2}, execute: false)
Searchkick.multi_search([products])
- assert_equal ["abc"], products.map(&:name)
- end
-
- def test_misspellings_below_unmet_retry
- store_names ["abc", "abd", "aee"]
- products = Product.search("abc", misspellings: {below: 2}, execute: false)
- Searchkick.multi_search([products], retry_misspellings: true)
assert_equal ["abc", "abd"], products.map(&:name)
end
def test_error
products = Product.search("*", order: {bad_column: :asc}, execute: false)