mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix action_mailer tests
This commit is contained in:
parent
eca46e3102
commit
05f27761a2
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@ require "action_mailer/railties/log_subscriber"
|
|||
|
||||
class AMLogSubscriberTest < ActionMailer::TestCase
|
||||
include Rails::LogSubscriber::TestHelper
|
||||
Rails::LogSubscriber.add(:action_mailer, ActionMailer::Railties::LogSubscriber.new)
|
||||
|
||||
def setup
|
||||
super
|
||||
Rails::LogSubscriber.add(:action_mailer, ActionMailer::Railties::LogSubscriber.new)
|
||||
end
|
||||
|
||||
class TestMailer < ActionMailer::Base
|
||||
def basic
|
||||
|
|
Loading…
Reference in a new issue