mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Only include the needed assertions
This commit is contained in:
parent
2b3d67d64b
commit
0bd1a4e05c
2 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,8 @@ module ActionMailer
|
|||
|
||||
include ActiveSupport::Testing::ConstantLookup
|
||||
include TestHelper
|
||||
include Rails::Dom::Testing::Assertions
|
||||
include Rails::Dom::Testing::Assertions::SelectorAssertions
|
||||
include Rails::Dom::Testing::Assertions::DomAssertions
|
||||
|
||||
included do
|
||||
class_attribute :_mailer_class
|
||||
|
|
|
@ -10,7 +10,7 @@ require 'mailers/proc_mailer'
|
|||
require 'mailers/asset_mailer'
|
||||
|
||||
class BaseTest < ActiveSupport::TestCase
|
||||
include Rails::Dom::Testing::Assertions
|
||||
include Rails::Dom::Testing::Assertions::DomAssertions
|
||||
|
||||
setup do
|
||||
@original_delivery_method = ActionMailer::Base.delivery_method
|
||||
|
|
Loading…
Reference in a new issue