test/index_test.rb in searchkick-2.0.4 vs test/index_test.rb in searchkick-2.1.0
- old
+ new
@@ -85,10 +85,10 @@
Product.reindex
end
def test_remove_blank_id
store_names ["Product A"]
- Product.searchkick_index.remove(OpenStruct.new)
+ Product.searchkick_index.remove(Product.new)
assert_search "product", ["Product A"]
ensure
Product.reindex
end