Commit d7312a300e56c035dcbd217c27438c6ed5a6484a

Authored by Andrew
1 parent f78cea52

No need for regex [skip ci]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/index_test.rb
@@ -85,7 +85,7 @@ class IndexTest < Minitest::Test @@ -85,7 +85,7 @@ class IndexTest < Minitest::Test
85 def test_record_not_found 85 def test_record_not_found
86 store_names ["Product A", "Product B"] 86 store_names ["Product A", "Product B"]
87 Product.where(name: "Product A").delete_all 87 Product.where(name: "Product A").delete_all
88 - assert_output nil, /\[searchkick\] WARNING: Records in search index do not exist in database\n/ do 88 + assert_output nil, "[searchkick] WARNING: Records in search index do not exist in database\n" do
89 assert_search "product", ["Product B"] 89 assert_search "product", ["Product B"]
90 end 90 end
91 ensure 91 ensure