Commit 69d49a3ea80dd64413e5e586d38df8c1f3eaa285
1 parent
f43a856e
Exists in
master
Fixed test warning [skip ci]
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
test/notifications_test.rb
@@ -2,6 +2,8 @@ require_relative "test_helper" | @@ -2,6 +2,8 @@ require_relative "test_helper" | ||
2 | 2 | ||
3 | class NotificationsTest < Minitest::Test | 3 | class NotificationsTest < Minitest::Test |
4 | def test_search | 4 | def test_search |
5 | + Product.search_index.refresh | ||
6 | + | ||
5 | notifications = capture_notifications do | 7 | notifications = capture_notifications do |
6 | Product.search("product").to_a | 8 | Product.search("product").to_a |
7 | end | 9 | end |