test/match_test.rb in searchkick-0.2.1 vs test/match_test.rb in searchkick-0.2.2
- old
+ new
@@ -58,9 +58,14 @@
def test_misspelling_sriracha
store_names ["Sriracha"]
assert_search "siracha", ["Sriracha"]
end
+ def test_misspelling_multiple
+ store_names ["Greek Yogurt", "Green Onions"]
+ assert_search "greed", ["Greek Yogurt", "Green Onions"]
+ end
+
def test_short_word
store_names ["Finn"]
assert_search "fin", ["Finn"]
end