aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/mail_helper_test.rb
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2009-11-20 14:10:57 +1100
committerMikel Lindsaar <raasdnil@gmail.com>2009-11-20 14:10:57 +1100
commit539d9b355f40b1668b4ad4e8fe628e0a3d9760b8 (patch)
treeaad4d42ad92259b16a279711773052d4a1fa08d7 /actionmailer/test/mail_helper_test.rb
parent15d7cac282e29f0a8e7b38dade07abb32d97a991 (diff)
downloadrails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.tar.gz
rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.tar.bz2
rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.zip
More updates... 45 errors left to get it working with Mail gem
Diffstat (limited to 'actionmailer/test/mail_helper_test.rb')
-rw-r--r--actionmailer/test/mail_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/test/mail_helper_test.rb b/actionmailer/test/mail_helper_test.rb
index 7b0716048f..a5cf789035 100644
--- a/actionmailer/test/mail_helper_test.rb
+++ b/actionmailer/test/mail_helper_test.rb
@@ -56,7 +56,7 @@ end
class MailerHelperTest < Test::Unit::TestCase
def new_mail( charset="utf-8" )
mail = Mail.new
- mail.set_content_type "text", "plain", { "charset" => charset } if charset
+ mail.content_type ["text", "plain", { "charset" => charset }]
mail
end