aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/old_base/mail_layout_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-26 19:15:20 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-26 19:15:32 +0100
commitaf43674c1cc73630736537a73e79a24ac2bef995 (patch)
treea012a938a47edac1ca987024dce2c79224359875 /actionmailer/test/old_base/mail_layout_test.rb
parentbdc39fad3629f89f552e40d13b7612db15ffa552 (diff)
downloadrails-af43674c1cc73630736537a73e79a24ac2bef995.tar.gz
rails-af43674c1cc73630736537a73e79a24ac2bef995.tar.bz2
rails-af43674c1cc73630736537a73e79a24ac2bef995.zip
Fix failing tests on AM about render(:body => Hash).
Diffstat (limited to 'actionmailer/test/old_base/mail_layout_test.rb')
-rw-r--r--actionmailer/test/old_base/mail_layout_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/old_base/mail_layout_test.rb b/actionmailer/test/old_base/mail_layout_test.rb
index 2abd3ece92..c69252efa9 100644
--- a/actionmailer/test/old_base/mail_layout_test.rb
+++ b/actionmailer/test/old_base/mail_layout_test.rb
@@ -14,7 +14,7 @@ class AutoLayoutMailer < ActionMailer::Base
from "tester@example.com"
@world = "Earth"
- render(:inline => "Hello, <%= @world %>", :layout => 'spam')
+ body render(:inline => "Hello, <%= @world %>", :layout => 'spam')
end
def nolayout
@@ -23,7 +23,7 @@ class AutoLayoutMailer < ActionMailer::Base
from "tester@example.com"
@world = "Earth"
- render(:inline => "Hello, <%= @world %>", :layout => false)
+ body render(:inline => "Hello, <%= @world %>", :layout => false)
end
def multipart(type = nil)