Permalink
Browse files

disable transactions for this test

  • Loading branch information...
1 parent ee190b8 commit 18a62acd6d89642fa05389731d122352ea6d7eaa @tenderlove tenderlove committed Jan 17, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 activerecord/test/cases/migration/logger_test.rb
@@ -3,13 +3,16 @@
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

0 comments on commit 18a62ac

Please sign in to comment.