summaryrefslogtreecommitdiff
path: root/web-ui/test/custom_matchers.js
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-03-21 12:09:54 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-03-22 12:17:52 +0100
commit626aae40b9407a1b044c33784dfd42dff784ad9c (patch)
treee1b15d580c537564972ef768bb5b74328e3208fe /web-ui/test/custom_matchers.js
parentaf6e08d901e9fc4bed46998ad16e02435912ed6d (diff)
Issue #649: Refactor Tags
Diffstat (limited to 'web-ui/test/custom_matchers.js')
-rw-r--r--web-ui/test/custom_matchers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/test/custom_matchers.js b/web-ui/test/custom_matchers.js
index b1e06d1f..d68d21a8 100644
--- a/web-ui/test/custom_matchers.js
+++ b/web-ui/test/custom_matchers.js
@@ -5,8 +5,8 @@ define([], function() {
compare: function (mail, node) {
var result = {}, equals = {}, subject, tags, from, date, messages = [], notMessages = [];
- subject = node.find('#mail-' + mail.ident + ' .subject-and-tags')[0];
- tags = _.map(node.find('#mail-' + mail.ident + ' .subject-and-tags .tag'), function (tag) { return tag.textContent; });
+ subject = node.find('#mail-' + mail.ident + ' .subject')[0];
+ tags = _.map(node.find('#mail-' + mail.ident + ' .tags .tags-tag'), function (tag) { return tag.textContent; });
date = node.find('#mail-' + mail.ident + ' .received-date');
from = node.find('#mail-' + mail.ident + ' .from');