diff options
author | Carl Lerche <carllerche@mac.com> | 2010-03-02 22:55:09 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-02 22:55:09 -0800 |
commit | 05f27761a23f3e939f35e4fb2d3c40f150dee49b (patch) | |
tree | f1606a2ec6f140eee0fdd30542ee8de856726aa5 /actionmailer | |
parent | eca46e3102399dc15f0462188e129e1ee25bd69f (diff) | |
download | rails-05f27761a23f3e939f35e4fb2d3c40f150dee49b.tar.gz rails-05f27761a23f3e939f35e4fb2d3c40f150dee49b.tar.bz2 rails-05f27761a23f3e939f35e4fb2d3c40f150dee49b.zip |
Fix action_mailer tests
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/test/log_subscriber_test.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/actionmailer/test/log_subscriber_test.rb b/actionmailer/test/log_subscriber_test.rb index edd7c84d29..c08c34b4a2 100644 --- a/actionmailer/test/log_subscriber_test.rb +++ b/actionmailer/test/log_subscriber_test.rb @@ -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 |