Commit fc62c49a9e76c75e97181cdb1760fc4303c6809f
1 parent
27a14dc8
Exists in
master
and in
19 other branches
Test with order
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/multi_search_test.rb
... | ... | @@ -36,7 +36,7 @@ class MultiSearchTest < Minitest::Test |
36 | 36 | |
37 | 37 | # https://github.com/ankane/searchkick/issues/1032 |
38 | 38 | def test_no_records |
39 | - products = Product.search("*", execute: false) | |
39 | + products = Product.search("*", order: {created_at: :asc}, execute: false) | |
40 | 40 | assert Searchkick.multi_search([products])[0].results |
41 | 41 | end |
42 | 42 | end | ... | ... |