提交 18a62acd 编写于 作者: A Aaron Patterson

disable transactions for this test

上级 ee190b8e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册