diff options
author | José Valim <jose.valim@gmail.com> | 2009-12-22 20:17:27 +0100 |
---|---|---|
committer | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-12-22 11:29:06 -0800 |
commit | 4964d3b02cd5c87d821ab7d41d243154c727185d (patch) | |
tree | e3818132241dd91d62ac1483219df16f973cf679 /actionmailer/test/url_test.rb | |
parent | 8e48a5ef0ca488b2264acd2b38bdae14970c011f (diff) | |
download | rails-4964d3b02cd5c87d821ab7d41d243154c727185d.tar.gz rails-4964d3b02cd5c87d821ab7d41d243154c727185d.tar.bz2 rails-4964d3b02cd5c87d821ab7d41d243154c727185d.zip |
Make ActionMailer::Base inherit from AbstractController::Base
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
Diffstat (limited to 'actionmailer/test/url_test.rb')
-rw-r--r-- | actionmailer/test/url_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/url_test.rb b/actionmailer/test/url_test.rb index 18eb355e7d..1140613132 100644 --- a/actionmailer/test/url_test.rb +++ b/actionmailer/test/url_test.rb @@ -12,8 +12,8 @@ class TestMailer < ActionMailer::Base @from = "system@loudthinking.com" @sent_on = Time.local(2004, 12, 12) - @body["recipient"] = recipient - @body["welcome_url"] = url_for :host => "example.com", :controller => "welcome", :action => "greeting" + @recipient = recipient + @welcome_url = url_for :host => "example.com", :controller => "welcome", :action => "greeting" end class <<self |