From 2cc0cac3efce92bf9d0e8636f2889c37ca9f57ab Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Fri, 26 Oct 2007 02:21:21 +0000 Subject: Introduce TestCase subclasses for testing rails applications allowing tests to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/test_help.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'railties/lib/test_help.rb') diff --git a/railties/lib/test_help.rb b/railties/lib/test_help.rb index a7401e6e93..13bac2d8d4 100644 --- a/railties/lib/test_help.rb +++ b/railties/lib/test_help.rb @@ -5,9 +5,13 @@ require_dependency 'application' silence_warnings { RAILS_ENV = "test" } require 'test/unit' +require 'active_support/test_case' require 'active_record/fixtures' +require 'active_record/test_case' +require 'action_controller/test_case' require 'action_controller/test_process' require 'action_controller/integration' +require 'action_mailer/test_case' Test::Unit::TestCase.fixture_path = RAILS_ROOT + "/test/fixtures/" ActionController::IntegrationTest.fixture_path = Test::Unit::TestCase.fixture_path -- cgit v1.2.3