summaryrefslogtreecommitdiff
path: root/web-ui/test/spec
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-03-10 20:23:52 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-03-15 18:39:51 +0100
commit195322b6489bc497deb1fa266414218cc0423c26 (patch)
treef0a77167de1a3120a61ac91ee6bb94041dff821b /web-ui/test/spec
parent02fc3cd8c2c1328cbc736a55588cf97ccbb07044 (diff)
Issue #620: Refactor read view
Diffstat (limited to 'web-ui/test/spec')
-rw-r--r--web-ui/test/spec/mail_view/ui/mail_view.spec.js2
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 9f1114a7..29be6c2d 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
@@ -281,7 +281,7 @@ describeComponent('mail_view/ui/mail_view', function () {
this.component.displayMail({}, withAttachments);
- var attachmentLink = $(this.component.$node.find('.attachmentsArea li').html());
+ var attachmentLink = $(this.component.$node.find('.mail-read-view__attachments-item').html());
var expectedLink = '/attachment/912ec803b2ce49e4a541068d495ab570?content_type=text/plain&encoding=base64&filename=filename.txt';
expect(attachmentLink.attr('href')) .toBe(expectedLink);
});