aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/base_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-02-01 23:34:23 +0100
committerJosé Valim <jose.valim@gmail.com>2010-02-01 23:34:47 +0100
commitd74b5e440c04a1d89ae092cab7cb4d93d850f94a (patch)
treedb087d683e4350323afa0ce20be28fa770076502 /actionmailer/test/base_test.rb
parentff7a6a9b41937e8bc8e3259af09afe520a19c03e (diff)
downloadrails-d74b5e440c04a1d89ae092cab7cb4d93d850f94a.tar.gz
rails-d74b5e440c04a1d89ae092cab7cb4d93d850f94a.tar.bz2
rails-d74b5e440c04a1d89ae092cab7cb4d93d850f94a.zip
Make AM test suite green.
Diffstat (limited to 'actionmailer/test/base_test.rb')
-rw-r--r--actionmailer/test/base_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/test/base_test.rb b/actionmailer/test/base_test.rb
index 20ecfdcbdb..7e794e10e8 100644
--- a/actionmailer/test/base_test.rb
+++ b/actionmailer/test/base_test.rb
@@ -81,8 +81,8 @@ class BaseTest < ActiveSupport::TestCase
def different_template(template_name='')
mail do |format|
- format.text { render :template => template_name }
- format.html { render :template => template_name }
+ format.text { render :template => "#{mailer_name}/#{template_name}" }
+ format.html { render :template => "#{mailer_name}/#{template_name}" }
end
end