1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use ActiveSupport::TestCase in generated test/test_helper.rb

This commit is contained in:
Jeremy Kemper 2008-11-17 10:39:46 -08:00
parent 435b088f5a
commit e3fcf9b668

View file

@ -2,7 +2,7 @@ ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help' require 'test_help'
class Test::Unit::TestCase class ActiveSupport::TestCase
# Transactional fixtures accelerate your tests by wrapping each test method # Transactional fixtures accelerate your tests by wrapping each test method
# in a transaction that's rolled back on completion. This ensures that the # in a transaction that's rolled back on completion. This ensures that the
# test database remains unchanged so your fixtures don't have to be reloaded # test database remains unchanged so your fixtures don't have to be reloaded