aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2014-08-29 00:43:18 +0900
committerAkira Matsuda <ronnie@dio.jp>2014-08-29 00:45:46 +0900
commit4e68c5dc5712e1d560d3ade694e3f840637baa47 (patch)
treea90b277ce3b8d2cafa15faa76d69d3e726f69ede /activerecord/test
parent2211caaa7c94db45ffab8355252e5d42447fa24d (diff)
downloadrails-4e68c5dc5712e1d560d3ade694e3f840637baa47.tar.gz
rails-4e68c5dc5712e1d560d3ade694e3f840637baa47.tar.bz2
rails-4e68c5dc5712e1d560d3ade694e3f840637baa47.zip
No transaction for a test that creates fixtures in the test body
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/fixtures_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb
index d7bbe0df62..385ec48005 100644
--- a/activerecord/test/cases/fixtures_test.rb
+++ b/activerecord/test/cases/fixtures_test.rb
@@ -644,6 +644,7 @@ class LoadAllFixturesWithPathnameTest < ActiveRecord::TestCase
end
class FasterFixturesTest < ActiveRecord::TestCase
+ self.use_transactional_fixtures = false
fixtures :categories, :authors
def load_extra_fixture(name)