summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/mail_list
diff options
context:
space:
mode:
authorAlexandre Pretto Nunes <anunes@thoughtworks.com>2015-01-15 15:04:48 -0200
committerAlexandre Pretto Nunes <anunes@thoughtworks.com>2015-01-15 15:10:07 -0200
commit43a783e10f0b89820fb8d1e5677b0fdbcf7e9b6e (patch)
treecb0de1b1f540ab670f78f3cc02f2e28ac7a6071f /web-ui/test/spec/mail_list
parentee5ce9624a800bb85b05d3c73f4ca30c61443429 (diff)
#153 fix mail checking and unchecking on mail list
Diffstat (limited to 'web-ui/test/spec/mail_list')
-rw-r--r--web-ui/test/spec/mail_list/ui/mail_list.spec.js4
1 files changed, 2 insertions, 2 deletions
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 72f61a39..22a10a31 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
@@ -108,7 +108,7 @@ describeComponent('mail_list/ui/mail_list', function () {
$(document).trigger(Pixelated.events.ui.mail.checked, {mail: mailList[0]});
- expect(setCheckAllCheckboxEvent).toHaveBeenTriggeredOnAndWith(document, {hasMailsChecked: true});
+ expect(setCheckAllCheckboxEvent).toHaveBeenTriggeredOnAndWith(document, true);
});
it('unchecks the check all checkbox if no mail is left checked', function () {
@@ -118,7 +118,7 @@ describeComponent('mail_list/ui/mail_list', function () {
$(document).trigger(Pixelated.events.ui.mail.unchecked, {mail: {ident: '1'}});
- expect(setCheckAllCheckboxEvent).toHaveBeenTriggeredOnAndWith(document, {hasMailsChecked: false});
+ expect(setCheckAllCheckboxEvent).toHaveBeenTriggeredOnAndWith(document, false);
});
});