1
0
Fork 0
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:
Rafael Mendonça França 2014-10-07 20:01:40 -03:00
parent 2b3d67d64b
commit 0bd1a4e05c
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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