1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #24871 from vipulnsward/disable-transaction-failure

Fix failures due to transactions
This commit is contained in:
Arthur Nogueira Neves 2016-05-06 14:00:49 -05:00
commit 40d5c3370f

View file

@ -316,6 +316,8 @@ module ActiveRecord
end
class DatabaseTasksMigrateTest < ActiveRecord::TestCase
self.use_transactional_tests = false
def setup
ActiveRecord::Tasks::DatabaseTasks.migrations_paths = 'custom/path'
end