Skip to content

Commit 7fdc658

Browse files
committed
Mail converts linebreaks to CRLF
1 parent c92551a commit 7fdc658

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/models/message_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ class MessageTest < ActiveSupport::TestCase
99
1010
Hello, world!
1111
END_OF_BODY
12-
1312
m = Message.from_mail(mail, List.find_by_name('ruby-list'), 1)
14-
assert_equal "Hello, world!\n", m.body
13+
assert_equal "Hello, world!\r\n", m.body
1514

1615
assert_equal DateTime.parse('2005-12-15T19:32:40+09:00'), m.published_at
1716
end

0 commit comments

Comments
 (0)