Commit e7979a5c21dfed49e0014576c43c3765dab1e5ba
1 parent
a5d40cd2
Exists in
master
and in
2 other branches
Fixed test [skip ci]
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/reindex_test.rb
... | ... | @@ -147,10 +147,10 @@ class ReindexTest < Minitest::Test |
147 | 147 | |
148 | 148 | def test_full_partial_async |
149 | 149 | store_names ["Product A"] |
150 | - # warn for now | |
151 | - assert_warns "unsupported keywords: :async" do | |
150 | + error = assert_raises(ArgumentError) do | |
152 | 151 | Product.reindex(:search_name, async: true) |
153 | 152 | end |
153 | + assert_match "unsupported keywords: :async", error.message | |
154 | 154 | end |
155 | 155 | |
156 | 156 | def test_callbacks_false | ... | ... |