diff options
author | Lisa Junger <ljunger@thoughtworks.com> | 2015-04-21 13:13:15 +0200 |
---|---|---|
committer | Lisa Junger <ljunger@thoughtworks.com> | 2015-04-21 13:31:27 +0200 |
commit | ea4df0ffabf258d4c03da5ee505ec7b9f651eeef (patch) | |
tree | ab86168ec6bfedc470dcbbbbe6df30c65960ef21 /web-ui/test | |
parent | 7593213cb2b4a9cca08ecb228c0b36b9a7c3805a (diff) |
Fixes typo in warnSendButtonOfRecipients.
- Issue #353
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/spec/mixins/with_mail_edit_base.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/test/spec/mixins/with_mail_edit_base.spec.js b/web-ui/test/spec/mixins/with_mail_edit_base.spec.js index 8f495399..940b4b5e 100644 --- a/web-ui/test/spec/mixins/with_mail_edit_base.spec.js +++ b/web-ui/test/spec/mixins/with_mail_edit_base.spec.js @@ -18,8 +18,8 @@ describeMixin('mixins/with_mail_edit_base', function () { recipients: { to: ['foobar@mail.com'], cc: [] } }); - expect(recipientsUpdatedEvent).toHaveBeenTriggeredOnAndWith(document, { newRecipients: ['foobar@mail.com'], name: 'to'}); - expect(recipientsUpdatedEvent).not.toHaveBeenTriggeredOnAndWith(document, { newRecipients: [], name: 'cc'}); + expect(recipientsUpdatedEvent).toHaveBeenTriggeredOnAndWith(document, { newRecipients: ['foobar@mail.com'], recipientsName: 'to'}); + expect(recipientsUpdatedEvent).not.toHaveBeenTriggeredOnAndWith(document, { newRecipients: [], recipientsName: 'cc'}); }); }); |