Browse files

Fixes some ActionMailer tests

  • Loading branch information...
1 parent b451de0 commit 0a2257697019f5eca65d46416ea1fa405ad41021 @spastorino spastorino committed Aug 14, 2010
View
2 actionmailer/test/old_base/mail_render_test.rb
@@ -112,7 +112,7 @@ def test_inline_template
def test_file_template
mail = RenderMailer.file_template
- assert_equal "Hello there, \n\nMr. test@localhost", mail.body.to_s.strip
+ assert_equal "Hello there,\n\nMr. test@localhost", mail.body.to_s.strip
end
def test_rxml_template
View
4 actionmailer/test/old_base/mail_service_test.rb
@@ -392,7 +392,7 @@ def test_signed_up
expected = new_mail
expected.to = @recipient
expected.subject = "[Signed up] Welcome #{@recipient}"
- expected.body = "Hello there, \n\nMr. #{@recipient}"
+ expected.body = "Hello there,\n\nMr. #{@recipient}"
expected.from = "system@loudthinking.com"
expected.date = Time.now
@@ -420,7 +420,7 @@ def test_custom_template
expected = new_mail
expected.to = @recipient
expected.subject = "[Signed up] Welcome #{@recipient}"
- expected.body = "Hello there, \n\nMr. #{@recipient}"
+ expected.body = "Hello there,\n\nMr. #{@recipient}"
expected.from = "system@loudthinking.com"
expected.date = Time.local(2004, 12, 12)
View
2 actionmailer/test/old_base/url_test.rb
@@ -68,7 +68,7 @@ def test_signed_up_with_url
expected = new_mail
expected.to = @recipient
expected.subject = "[Signed up] Welcome #{@recipient}"
- expected.body = "Hello there, \n\nMr. #{@recipient}. Please see our greeting at http://example.com/welcome/greeting http://www.basecamphq.com/welcome\n\n<img alt=\"Somelogo\" src=\"/images/somelogo.png\" />"
+ expected.body = "Hello there,\n\nMr. #{@recipient}. Please see our greeting at http://example.com/welcome/greeting http://www.basecamphq.com/welcome\n\n<img alt=\"Somelogo\" src=\"/images/somelogo.png\" />"
expected.from = "system@loudthinking.com"
expected.date = Time.local(2004, 12, 12)

0 comments on commit 0a22576

Please sign in to comment.