drop_all_tables!

in elasticsearch-model/spec/spec_helper.rb [109:119]


def drop_all_tables!
  ActiveRecord::Base.descendants.each do |model|
    begin
      ActiveRecord::Schema.define do
        drop_table model
      end if model.table_exists?
    rescue
    end
  end and true
end