diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-13 15:02:28 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-13 15:02:28 -0800 |
commit | d220e8add9071ffcc12bfe8cf78c995ef53cb6d4 (patch) | |
tree | 29a3c22697cb9db0f9542459ba19972a092dacb5 /activerecord | |
parent | e992cd4d91f41aa4af88344c6c723bb61c5c1511 (diff) | |
download | rails-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')
-rw-r--r-- | activerecord/test/cases/hot_compatibility_test.rb | 2 |
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 |