Commit a9b57db1ff4dedcac82cc7cf0ebf7d0891d99a6e
1 parent
b1dc7bd4
Exists in
master
and in
5 other branches
Disable misspellings for spaces tests
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/match_test.rb
... | ... | @@ -151,12 +151,12 @@ class MatchTest < Minitest::Test |
151 | 151 | |
152 | 152 | def test_spaces_in_field |
153 | 153 | store_names ["Red Bull"] |
154 | - assert_search "redbull", ["Red Bull"] | |
154 | + assert_search "redbull", ["Red Bull"], misspellings: false | |
155 | 155 | end |
156 | 156 | |
157 | 157 | def test_spaces_in_query |
158 | 158 | store_names ["Dishwasher"] |
159 | - assert_search "dish washer", ["Dishwasher"] | |
159 | + assert_search "dish washer", ["Dishwasher"], misspellings: false | |
160 | 160 | end |
161 | 161 | |
162 | 162 | def test_spaces_three_words | ... | ... |