1
0
Fork 0
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:
Carl Lerche 2010-03-02 22:55:09 -08:00
parent eca46e3102
commit 05f27761a2

View file

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