diff options
Diffstat (limited to 'web-ui/test/spec/mail_view/ui/recipients/recipients.spec.js')
-rw-r--r-- | web-ui/test/spec/mail_view/ui/recipients/recipients.spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web-ui/test/spec/mail_view/ui/recipients/recipients.spec.js b/web-ui/test/spec/mail_view/ui/recipients/recipients.spec.js index 6aa4589a..7dd9000f 100644 --- a/web-ui/test/spec/mail_view/ui/recipients/recipients.spec.js +++ b/web-ui/test/spec/mail_view/ui/recipients/recipients.spec.js @@ -4,6 +4,10 @@ describeComponent('mail_view/ui/recipients/recipients',function () { 'use strict'; var recipientsUpdatedEvent; + beforeEach(function () { + spyOn($, 'getJSON').and.returnValue($.Deferred()); + }); + describe('initialization', function() { it('adds recipients', function() { this.setupComponent({name: 'to', addresses: ['foobar@gmail.com'] }); |