@@ -378,8 +378,10 class MailHandlerTest < ActiveSupport::TestCase | |||||
378 | 'subject_as_iso-8859-1.eml', |
|
378 | 'subject_as_iso-8859-1.eml', | |
379 | :issue => {:project => 'ecookbook'} |
|
379 | :issue => {:project => 'ecookbook'} | |
380 | ) |
|
380 | ) | |
|
381 | str = "Testmail from Webmail: \xc3\xa4 \xc3\xb6 \xc3\xbc..." | |||
|
382 | str.force_encoding('UTF-8') if str.respond_to?(:force_encoding) | |||
381 | assert_kind_of Issue, issue |
|
383 | assert_kind_of Issue, issue | |
382 |
assert_equal |
|
384 | assert_equal str, issue.subject | |
383 | end |
|
385 | end | |
384 |
|
386 | |||
385 | def test_add_issue_with_japanese_subject |
|
387 | def test_add_issue_with_japanese_subject |
General Comments 0
You need to be logged in to leave comments.
Login now