aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/test_help.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/test_help.rb b/railties/lib/test_help.rb
index 48305a57cf..3b91438c08 100644
--- a/railties/lib/test_help.rb
+++ b/railties/lib/test_help.rb
@@ -10,7 +10,7 @@ require 'active_record/fixtures'
require 'action_controller/test_case'
require 'action_controller/test_process'
require 'action_controller/integration'
-require 'action_mailer/test_case'
+require 'action_mailer/test_case' if defined?(ActionMailer)
Test::Unit::TestCase.fixture_path = RAILS_ROOT + "/test/fixtures/"
ActionController::IntegrationTest.fixture_path = Test::Unit::TestCase.fixture_path