Commit 7290906fe3a57d3a537201513c52bdcd96731826

Authored by Andrew Kane
1 parent 2c5a8155

Fixed random test errors

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
test/index_test.rb
... ... @@ -53,6 +53,8 @@ class TestIndex < Minitest::Test
53 53 store_names ["Product A", "Product B"]
54 54 Product.where(name: "Product A").delete_all
55 55 assert_search "product", ["Product B"]
  56 + ensure
  57 + Product.reindex
56 58 end
57 59  
58 60 def test_bad_mapping
... ...