Permalink
Browse files

Made it even easier to turn on transactional fixtures

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent c570ebc commit e04e82ba82e919c03dbce255de81ad30f68614cd @dhh dhh committed Jul 4, 2005
Showing with 8 additions and 0 deletions.
  1. +8 −0 railties/helpers/test_helper.rb
@@ -16,3 +16,11 @@ def create_fixtures(*table_names)
end
Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/"
+
+class Test::Unit::TestCase
+ # Turn these on to use transactional fixtures with table_name(:fixture_name) instantiation of fixtures
+ # self.use_transactional_fixtures = true
+ # self.use_instantiated_fixtures = false
+
+ # Add helper methods to be used by all tests here
+end

0 comments on commit e04e82b

Please sign in to comment.