Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use better defaults for fixtures: transactional=true, instantiated=false

These reflect the settings that were previously included in the default
test_helper.rb, removed in d7d9173.
  • Loading branch information...
commit 894ce1553498fce6463f38cd0e41c2efbac31c0d 1 parent 891ba18
Jeffrey Hardy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/fixtures.rb
View
4 activerecord/lib/active_record/fixtures.rb
@@ -822,8 +822,8 @@ module TestFixtures
superclass_delegating_accessor :pre_loaded_fixtures
self.fixture_table_names = []
- self.use_transactional_fixtures = false
- self.use_instantiated_fixtures = true
+ self.use_transactional_fixtures = true
+ self.use_instantiated_fixtures = false
self.pre_loaded_fixtures = false
self.fixture_class_names = {}
Please sign in to comment.
Something went wrong with that request. Please try again.