Commit b0c92d8b9f8434211058b7b9911c6754de05d227
1 parent
240debf9
Exists in
master
and in
21 other branches
Fixed test error with specific seeds
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/suggest_test.rb
@@ -18,6 +18,7 @@ class TestSuggest < Minitest::Test | @@ -18,6 +18,7 @@ class TestSuggest < Minitest::Test | ||
18 | end | 18 | end |
19 | 19 | ||
20 | def test_without_option | 20 | def test_without_option |
21 | + store_names ["hi"] # needed to prevent ElasticsearchException - seed 668 | ||
21 | assert_raises(RuntimeError){ Product.search("hi").suggestions } | 22 | assert_raises(RuntimeError){ Product.search("hi").suggestions } |
22 | end | 23 | end |
23 | 24 |