mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Only load ActionMailer::TestCase if ActionMailer is loaded. Closes #10137 [defunkt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Only load ActionMailer::TestCase if ActionMailer is loaded. Closes #10137 [defunkt]
|
||||
|
||||
* Fixed that db:reset would use migrations instead of loading db/schema.rb [DHH]
|
||||
|
||||
* Ensure the plugin loader only loads plugins once. Closes #10102 [haruki_zaemon]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user