diff --git a/test/test_helper.rb b/test/test_helper.rb index fd98ca2d..31337cd4 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -72,6 +72,17 @@ def setup end def teardown - ::RestClient.delete "#{URL}/articles-test" rescue nil + %w[ + articles-test + active_record_articles + active_model_article_with_custom_as_serializations + active_record_class_with_tire_methods + mongoid_articles + mongoid_class_with_tire_methods + supermodel_articles + dynamic_index + model_with_nested_documents ].each do |index| + ::RestClient.delete "#{URL}/#{index}" rescue nil + end end end