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

recover from test runs that leave the database in a bad state

This commit is contained in:
Aaron Patterson 2014-01-13 15:02:28 -08:00
parent e992cd4d91
commit d220e8add9

View file

@ -5,7 +5,7 @@ class HotCompatibilityTest < ActiveRecord::TestCase
setup do
@klass = Class.new(ActiveRecord::Base) do
connection.create_table :hot_compatibilities do |t|
connection.create_table :hot_compatibilities, force: true do |t|
t.string :foo
t.string :bar
end