1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Reset SchemaMigration after updating

This commit is contained in:
Akira Matsuda 2013-01-22 05:19:14 +09:00
parent 9b520d31e5
commit e56c80a172

View file

@ -12,6 +12,7 @@ if ActiveRecord::Base.connection.supports_migrations?
def teardown
@connection.drop_table :fruits rescue nil
ActiveRecord::SchemaMigration.delete_all rescue nil
end
def test_schema_define