diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/test_case.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/test_case.rb b/activerecord/lib/active_record/test_case.rb index d5126849be..7dee962c8a 100644 --- a/activerecord/lib/active_record/test_case.rb +++ b/activerecord/lib/active_record/test_case.rb @@ -2,8 +2,9 @@ require "active_support/test_case" module ActiveRecord class TestCase < ActiveSupport::TestCase #:nodoc: - self.fixture_path = FIXTURES_ROOT - self.use_instantiated_fixtures = false + self.fixture_path = FIXTURES_ROOT + self.use_instantiated_fixtures = false + self.use_transactional_fixtures = true def create_fixtures(*table_names, &block) Fixtures.create_fixtures(FIXTURES_ROOT, table_names, {}, &block) |