Permalink
Browse files

Reset SchemaMigration after updating

  • Loading branch information...
1 parent 9b520d3 commit e56c80a172dbb5e1627e1122b6f4b87f5e880dd1 @amatsuda amatsuda committed Jan 21, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/test/cases/ar_schema_test.rb
View
1 activerecord/test/cases/ar_schema_test.rb
@@ -12,6 +12,7 @@ def setup
def teardown
@connection.drop_table :fruits rescue nil
+ ActiveRecord::SchemaMigration.delete_all rescue nil
end
def test_schema_define

0 comments on commit e56c80a

Please sign in to comment.