diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2016-05-06 14:00:49 -0500 |
---|---|---|
committer | Arthur Nogueira Neves <github@arthurnn.com> | 2016-05-06 14:00:49 -0500 |
commit | 40d5c3370f8e5e0d3d03a7a25a64fde5122a069e (patch) | |
tree | 9f5a1b1fee41828b49d017cfd757a6f2f8ae1289 /activerecord | |
parent | b2b1fe64bab003d0ce5ef86ac26a56b01cf348d2 (diff) | |
parent | 8a42229fcf99eeb0de9c0cbabf548f9f29d7c781 (diff) | |
download | rails-40d5c3370f8e5e0d3d03a7a25a64fde5122a069e.tar.gz rails-40d5c3370f8e5e0d3d03a7a25a64fde5122a069e.tar.bz2 rails-40d5c3370f8e5e0d3d03a7a25a64fde5122a069e.zip |
Merge pull request #24871 from vipulnsward/disable-transaction-failure
Fix failures due to transactions
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/tasks/database_tasks_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/tasks/database_tasks_test.rb b/activerecord/test/cases/tasks/database_tasks_test.rb index e6d731e1e1..510bb088c8 100644 --- a/activerecord/test/cases/tasks/database_tasks_test.rb +++ b/activerecord/test/cases/tasks/database_tasks_test.rb @@ -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 |