Commit 982dbe110971805fc081c9c885ebf2e57b730ccf
1 parent
5d921bc3
Exists in
master
and in
18 other branches
Added test for special characters
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
test/index_options_test.rb
... | ... | @@ -18,4 +18,11 @@ class IndexOptionsTest < Minitest::Test |
18 | 18 | assert_search "milks", ["milks"], {misspellings: false}, Song |
19 | 19 | end |
20 | 20 | end |
21 | + | |
22 | + def test_special_characters | |
23 | + with_options(Song, special_characters: false) do | |
24 | + store_names ["jalapeño"], Song | |
25 | + assert_search "jalapeno", [], {misspellings: false}, Song | |
26 | + end | |
27 | + end | |
21 | 28 | end | ... | ... |