diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2015-02-18 16:41:51 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2015-02-18 17:04:05 -0200 |
commit | 6ef38d4dfe81dcdeda6dd3287587b80ad58e4c6c (patch) | |
tree | 09d5f922c094d9f0bed207dc9ab6a0dc62f245d0 /web-ui/test | |
parent | dd63db87fdbb9667c1027edd700b4047b6983d1f (diff) |
Using line breaks instead of paragraphs to format text plain mails on the mail view
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/spec/helpers/view_helper.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/test/spec/helpers/view_helper.spec.js b/web-ui/test/spec/helpers/view_helper.spec.js index d84cb4ac..7b5b960b 100644 --- a/web-ui/test/spec/helpers/view_helper.spec.js +++ b/web-ui/test/spec/helpers/view_helper.spec.js @@ -56,7 +56,7 @@ define(['helpers/view_helper'], function (viewHelper) { it('each line of plain text mail gets a new paragraph', function () { var formattedMail = $('<div></div>'); formattedMail.html(viewHelper.formatMailBody(testData.parsedMail.simpleTextPlain)); - expect(formattedMail).toContainHtml('<p>Hello Everyone</p>'); + expect(formattedMail).toContainHtml('<div>Hello Everyone<br/></div>'); }); |