aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-01-13 15:02:28 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2014-01-13 15:02:28 -0800
commitd220e8add9071ffcc12bfe8cf78c995ef53cb6d4 (patch)
tree29a3c22697cb9db0f9542459ba19972a092dacb5 /activerecord/test/cases
parente992cd4d91f41aa4af88344c6c723bb61c5c1511 (diff)
downloadrails-d220e8add9071ffcc12bfe8cf78c995ef53cb6d4.tar.gz
rails-d220e8add9071ffcc12bfe8cf78c995ef53cb6d4.tar.bz2
rails-d220e8add9071ffcc12bfe8cf78c995ef53cb6d4.zip
recover from test runs that leave the database in a bad state
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/hot_compatibility_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/hot_compatibility_test.rb b/activerecord/test/cases/hot_compatibility_test.rb
index 96e581ab4c..367d04a154 100644
--- a/activerecord/test/cases/hot_compatibility_test.rb
+++ b/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