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 85 def test_record_not_found
86 86 store_names ["Product A", "Product B"]
87 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 89 assert_search "product", ["Product B"]
90 90 end
91 91 ensure
... ...