diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-10 17:53:21 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-10 17:53:21 +0100 |
commit | 36e9187e342511a026dbdc8e0ac3f64ab8f4fbe2 (patch) | |
tree | dfd6eddbfb4a0f9585daacdc0af39af652250312 /web-ui/test/spec/mail_view/ui | |
parent | dac74cc8cabdc5e3ad0e90fc9aff3b6beedc964f (diff) |
Fix Issue #596: Fix attachment url test
Diffstat (limited to 'web-ui/test/spec/mail_view/ui')
-rw-r--r-- | web-ui/test/spec/mail_view/ui/mail_view.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/test/spec/mail_view/ui/mail_view.spec.js b/web-ui/test/spec/mail_view/ui/mail_view.spec.js index fe763919..1c1446f9 100644 --- a/web-ui/test/spec/mail_view/ui/mail_view.spec.js +++ b/web-ui/test/spec/mail_view/ui/mail_view.spec.js @@ -271,7 +271,7 @@ describeComponent('mail_view/ui/mail_view', function () { this.component.displayMail({}, withAttachments); var attachmentLink = $(this.component.$node.find('.attachmentsArea li').html()); - var expectedLink = '/attachment/912ec803b2ce49e4a541068d495ab570?encoding=base64&filename=filename.txt'; + var expectedLink = '/attachment/912ec803b2ce49e4a541068d495ab570?content_type=text/plain&encoding=base64&filename=filename.txt'; expect(attachmentLink.attr('href')) .toBe(expectedLink); }); |