diff options
Diffstat (limited to 'actionmailer/test/old_base/url_test.rb')
-rw-r--r-- | actionmailer/test/old_base/url_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionmailer/test/old_base/url_test.rb b/actionmailer/test/old_base/url_test.rb index 60740d6b0b..c98c3cde3a 100644 --- a/actionmailer/test/old_base/url_test.rb +++ b/actionmailer/test/old_base/url_test.rb @@ -31,6 +31,8 @@ class TestMailer < ActionMailer::Base attr_accessor :received_body end + remove_method :receive + def receive(mail) self.class.received_body = mail.body end |