Commit de4a8974089c06dfbeebd88b1a89d0d0a042bf28
1 parent
3b8e25c5
Exists in
master
and in
2 other branches
Added test for multi_search log subscriber [skip ci]
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
test/log_subscriber_test.rb
... | ... | @@ -59,6 +59,13 @@ class LogSubscriberTest < Minitest::Test |
59 | 59 | assert_match "Product Search", output |
60 | 60 | end |
61 | 61 | |
62 | + def test_multi_search | |
63 | + output = capture_logs do | |
64 | + Searchkick.multi_search([Product.search("product")]) | |
65 | + end | |
66 | + assert_match "Multi Search", output | |
67 | + end | |
68 | + | |
62 | 69 | private |
63 | 70 | |
64 | 71 | def create_products | ... | ... |