Skip to content

Commit

Permalink
No transaction for a test that creates fixtures in the test body
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Aug 28, 2014
1 parent 2211caa commit 4e68c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activerecord/test/cases/fixtures_test.rb
Expand Up @@ -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)
Expand Down

0 comments on commit 4e68c5d

Please sign in to comment.