summaryrefslogtreecommitdiff
path: root/web-ui/test/spec
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/test/spec')
-rw-r--r--web-ui/test/spec/mail_list/ui/mail_items/generic_mail_item.spec.js3
-rw-r--r--web-ui/test/spec/mail_list/ui/mail_list.spec.js1
2 files changed, 3 insertions, 1 deletions
diff --git a/web-ui/test/spec/mail_list/ui/mail_items/generic_mail_item.spec.js b/web-ui/test/spec/mail_list/ui/mail_items/generic_mail_item.spec.js
index 3541506c..88735302 100644
--- a/web-ui/test/spec/mail_list/ui/mail_items/generic_mail_item.spec.js
+++ b/web-ui/test/spec/mail_list/ui/mail_items/generic_mail_item.spec.js
@@ -11,7 +11,8 @@ describeComponent('mail_list/ui/mail_items/generic_mail_item', function () {
this.setupComponent('<li></li>', {
mail: mail,
selected: false,
- tag: 'inbox'
+ tag: 'inbox',
+ templateType: 'single'
});
});
diff --git a/web-ui/test/spec/mail_list/ui/mail_list.spec.js b/web-ui/test/spec/mail_list/ui/mail_list.spec.js
index 095a2a61..1551643d 100644
--- a/web-ui/test/spec/mail_list/ui/mail_list.spec.js
+++ b/web-ui/test/spec/mail_list/ui/mail_list.spec.js
@@ -136,6 +136,7 @@ describeComponent('mail_list/ui/mail_list', function () {
it('should open draft in popstate event if tag is Drafts', function () {
var openDraftEvent = spyOnEvent(document, Pixelated.events.dispatchers.rightPane.openDraft);
+ debugger;
this.component.$node.trigger(Pixelated.events.mails.available, { mails: mailList, mailIdent: '30', tag: 'drafts' });
expect(openDraftEvent).toHaveBeenTriggeredOnAndWith(document, { ident: '30'});