Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix action_mailer tests

  • Loading branch information...
commit 05f27761a23f3e939f35e4fb2d3c40f150dee49b 1 parent eca46e3
Carl Lerche authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.