aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-16 11:01:58 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-16 11:01:58 -0800
commit7312b8318f0c770d363a62d679aa8f67a18e549b (patch)
tree665c488815a8a57bf9bfe3b32b7fa32d818f9339
parent8037c51083c99c3f8925a6236a9969e697fab410 (diff)
downloadrails-7312b8318f0c770d363a62d679aa8f67a18e549b.tar.gz
rails-7312b8318f0c770d363a62d679aa8f67a18e549b.tar.bz2
rails-7312b8318f0c770d363a62d679aa8f67a18e549b.zip
fix tests on sqlite3
-rw-r--r--activerecord/test/cases/migration_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index 470ec3010d..efb47b1844 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -45,6 +45,10 @@ class MigrationTest < ActiveRecord::TestCase
def setup
super
+ %w(reminders people_reminders prefix_reminders_suffix).each do |table|
+ Reminder.connection.drop_table(table) rescue nil
+ end
+ Reminder.reset_column_information
ActiveRecord::Migration.verbose = true
ActiveRecord::Migration.message_count = 0
end