Permalink
Browse files

fix tests on sqlite3

  • Loading branch information...
1 parent 8037c51 commit 7312b8318f0c770d363a62d679aa8f67a18e549b @tenderlove tenderlove committed Jan 16, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 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

0 comments on commit 7312b83

Please sign in to comment.