Permalink
Browse files

No transaction for a test that creates fixtures in the test body

  • Loading branch information...
1 parent 2211caa commit 4e68c5dc5712e1d560d3ade694e3f840637baa47 @amatsuda amatsuda committed Aug 28, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/test/cases/fixtures_test.rb
@@ -644,6 +644,7 @@ def test_all_there
end
class FasterFixturesTest < ActiveRecord::TestCase
+ self.use_transactional_fixtures = false
fixtures :categories, :authors
def load_extra_fixture(name)

0 comments on commit 4e68c5d

Please sign in to comment.