mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Autoload AM test case class
This commit is contained in:
parent
cf83a6f16b
commit
ce56c36cd3
2 changed files with 0 additions and 2 deletions
|
@ -10,7 +10,6 @@ require 'rubygems'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
require 'action_mailer'
|
require 'action_mailer'
|
||||||
require 'action_mailer/test_case'
|
|
||||||
|
|
||||||
# Show backtraces for deprecated behavior for quicker cleanup.
|
# Show backtraces for deprecated behavior for quicker cleanup.
|
||||||
ActiveSupport::Deprecation.debug = true
|
ActiveSupport::Deprecation.debug = true
|
||||||
|
|
|
@ -8,7 +8,6 @@ require 'rack/test'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'active_support/core_ext/kernel/requires'
|
require 'active_support/core_ext/kernel/requires'
|
||||||
|
|
||||||
require 'action_mailer/test_case' if defined?(ActionMailer)
|
|
||||||
require 'active_model/test_case' if defined?(ActiveModel)
|
require 'active_model/test_case' if defined?(ActiveModel)
|
||||||
|
|
||||||
if defined?(ActiveRecord)
|
if defined?(ActiveRecord)
|
||||||
|
|
Loading…
Reference in a new issue