提交 05f27761 编写于 作者: C Carl Lerche

Fix action_mailer tests

上级 eca46e31
......@@ -4,7 +4,11 @@
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册