Commit 367cb91a8311c9af56ddecbf724f9b1845c1c5e3

Authored by Andrew Kane
1 parent 06441e6b

Return nil on inline [skip ci]

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
test/reindex_test.rb
... ... @@ -5,8 +5,7 @@ class ReindexTest < Minitest::Test
5 5 store_names ["Product A", "Product B"], reindex: false
6 6  
7 7 product = Product.find_by!(name: "Product A")
8   - # TODO decide on return value
9   - assert_kind_of Object, product.reindex(refresh: true)
  8 + assert_nil product.reindex(refresh: true)
10 9 assert_search "product", ["Product A"]
11 10 end
12 11  
... ...