diff options
author | wycats <wycats@gmail.com> | 2010-03-16 23:24:00 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-16 23:24:00 -0700 |
commit | cd9ffd11e13ef6e62eba2cbd5c3760ff04132820 (patch) | |
tree | 0fcc940424e1265f03d5df623f324cf7ca310dd3 /actionmailer/test/old_base | |
parent | c7388124153e1b1f85965998e5d1c20eed670da8 (diff) | |
download | rails-cd9ffd11e13ef6e62eba2cbd5c3760ff04132820.tar.gz rails-cd9ffd11e13ef6e62eba2cbd5c3760ff04132820.tar.bz2 rails-cd9ffd11e13ef6e62eba2cbd5c3760ff04132820.zip |
Eliminate warnings for AM on 1.8
Diffstat (limited to 'actionmailer/test/old_base')
-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 |