diff options
author | Matthew Draper <matthew@trebex.net> | 2017-06-01 15:48:42 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 15:48:42 +0930 |
commit | 33f5f227d5a4716ceb38ff0b58e1edc7628c22c8 (patch) | |
tree | a6cdeea5131c960ed581ca8bbd16d9412559b4f0 | |
parent | cc075605362dd4b8e6795728d792a7893e29d84c (diff) | |
parent | dcd3b940e9e163ff87cf3dfa7748a5f18220b58d (diff) | |
download | rails-33f5f227d5a4716ceb38ff0b58e1edc7628c22c8.tar.gz rails-33f5f227d5a4716ceb38ff0b58e1edc7628c22c8.tar.bz2 rails-33f5f227d5a4716ceb38ff0b58e1edc7628c22c8.zip |
Merge pull request #29287 from alexcameron89/fix-db-statement-test-48104
Fix random minitest error: database_statements_test
-rw-r--r-- | activerecord/test/cases/fixtures_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb index c79a56f5ee..e651f63c7e 100644 --- a/activerecord/test/cases/fixtures_test.rb +++ b/activerecord/test/cases/fixtures_test.rb @@ -365,6 +365,7 @@ if Account.connection.respond_to?(:reset_pk_sequence!) class FixturesResetPkSequenceTest < ActiveRecord::TestCase fixtures :accounts fixtures :companies + self.use_transactional_tests = false def setup @instances = [Account.new(credit_limit: 50), Company.new(name: "RoR Consulting"), Course.new(name: "Test")] |