Permalink
Browse files

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

  • Loading branch information...
1 parent e992cd4 commit d220e8add9071ffcc12bfe8cf78c995ef53cb6d4 @tenderlove tenderlove committed Jan 13, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/hot_compatibility_test.rb
View
2 activerecord/test/cases/hot_compatibility_test.rb
@@ -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

0 comments on commit d220e8a

Please sign in to comment.