Commit 6eaa7bfc59753d79da34d9544ca116de520f83b1
1 parent
9b369bd6
Exists in
relation
and in
1 other branch
Updated test [skip ci]
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/misspellings_test.rb
... | ... | @@ -10,6 +10,7 @@ class MisspellingsTest < Minitest::Test |
10 | 10 | def test_misspellings_distance |
11 | 11 | store_names ["abbb", "aabb"] |
12 | 12 | assert_search "aaaa", ["aabb"], misspellings: {distance: 2} |
13 | + assert_search_relation ["aabb"], Product.search("aaaa", relation: true).misspellings(distance: 2) | |
13 | 14 | end |
14 | 15 | |
15 | 16 | def test_misspellings_prefix_length | ... | ... |