Fix handling multiple text parts in email (#13646).
Patch by Alex Shulgin. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11834 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -492,6 +492,13 @@ class MailHandlerTest < ActiveSupport::TestCase
|
||||
assert_equal 'd8e8fca2dc0f896fd7cb4cb0031ba249', attachment.digest
|
||||
end
|
||||
|
||||
def test_multiple_text_parts
|
||||
issue = submit_email('multiple_text_parts.eml', :issue => {:project => 'ecookbook'})
|
||||
assert_include 'first', issue.description
|
||||
assert_include 'second', issue.description
|
||||
assert_include 'third', issue.description
|
||||
end
|
||||
|
||||
def test_add_issue_with_iso_8859_1_subject
|
||||
issue = submit_email(
|
||||
'subject_as_iso-8859-1.eml',
|
||||
|
||||
Reference in New Issue
Block a user