Skip to content
Browse files

Fix action_mailer tests

  • Loading branch information...
1 parent eca46e3 commit 05f27761a23f3e939f35e4fb2d3c40f150dee49b Carl Lerche committed Mar 2, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 actionmailer/test/log_subscriber_test.rb
View
6 actionmailer/test/log_subscriber_test.rb
@@ -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

0 comments on commit 05f2776

Please sign in to comment.
Something went wrong with that request. Please try again.