Permalink
Browse files

Added spanish name to test

  • Loading branch information...
1 parent 579f0d9 commit f41126b9e69309c99205d11d2236d59def9e2241 @ndbroadbent ndbroadbent committed Jan 6, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 test/inline_css_hook_test.rb
@@ -22,7 +22,8 @@
</style>
</head>
<body>
- <div id="test">ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ᛫ᚠᛁᚱᚪ᛫ᚷᛖᚻᚹᛦᛚᚳᚢᛗ</div>
+ <div id="test">ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ</div>
+ <div id="author">Gonçalves</div>
</body>
</html>}
@@ -103,8 +104,9 @@ def test_inline_css_hook_with_text_and_html_parts
def test_inline_css_hook_with_utf_8_characters
mail = nil
mail = HelperMailer.use_inline_css_hook_with_utf_8.deliver
- assert_match 'ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ᛫ᚠᛁᚱᚪ᛫ᚷᛖᚻᚹᛦᛚᚳᚢᛗ', mail.html_part.body.encoded
- assert_match 'ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ᛫ᚠᛁᚱᚪ᛫ᚷᛖᚻᚹᛦᛚᚳᚢᛗ', mail.text_part.body.encoded
+ assert_match 'ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ', mail.html_part.body.encoded
+ assert_match 'Gonçalves', mail.html_part.body.encoded
+ assert_match 'ᚠᛇᚻ᛫ᛒᛦᚦ᛫ᚠᚱᚩᚠᚢᚱ', mail.text_part.body.encoded
end
def test_inline_css_hook_with_base_url

0 comments on commit f41126b

Please sign in to comment.