spec/spec_helper.rb in search_flip-3.6.0 vs spec/spec_helper.rb in search_flip-3.7.0
- old
+ new
@@ -14,9 +14,11 @@
config.before do
TestIndex.delete_index if TestIndex.index_exists?
ProductIndex.match_all.delete
Product.delete_all
+ CommentIndex.match_all.delete
+ Comment.delete_all
end
end
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")