diff options
-rw-r--r-- | web-ui/test/spec/mail_view/ui/mail_view.spec.js | 2 | ||||
-rw-r--r-- | web-ui/test/test_data.js | 3 |
2 files changed, 3 insertions, 2 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); }); diff --git a/web-ui/test/test_data.js b/web-ui/test/test_data.js index e9388c2f..94fd74d8 100644 --- a/web-ui/test/test_data.js +++ b/web-ui/test/test_data.js @@ -224,7 +224,8 @@ define(function() { attachments: [{ ident: '912ec803b2ce49e4a541068d495ab570', name: 'filename.txt', - encoding: 'base64' + encoding: 'base64', + 'content-type': 'text/plain' }] }; |