diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-17 09:18:40 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-17 09:18:40 -0800 |
commit | 18a62acd6d89642fa05389731d122352ea6d7eaa (patch) | |
tree | 95829d00c1be72788fa2f346f77d84a889500ee6 | |
parent | ee190b8e6db5a11beb682ee3487b605d7608ff17 (diff) | |
download | rails-18a62acd6d89642fa05389731d122352ea6d7eaa.tar.gz rails-18a62acd6d89642fa05389731d122352ea6d7eaa.tar.bz2 rails-18a62acd6d89642fa05389731d122352ea6d7eaa.zip |
disable transactions for this test
-rw-r--r-- | activerecord/test/cases/migration/logger_test.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration/logger_test.rb b/activerecord/test/cases/migration/logger_test.rb index 8466562daf..ee0c20747e 100644 --- a/activerecord/test/cases/migration/logger_test.rb +++ b/activerecord/test/cases/migration/logger_test.rb @@ -3,13 +3,16 @@ require "cases/helper" module ActiveRecord class Migration class LoggerTest < ActiveRecord::TestCase + # mysql can't roll back ddl changes + self.use_transactional_fixtures = false + Migration = Struct.new(:name, :version) do def migrate direction # do nothing end end - def initialize(*args) + def setup super ActiveRecord::SchemaMigration.create_table ActiveRecord::SchemaMigration.delete_all |