diff options
Diffstat (limited to 'web-ui/test/spec/mixins')
-rw-r--r-- | web-ui/test/spec/mixins/with_mail_sandbox.spec.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/web-ui/test/spec/mixins/with_mail_sandbox.spec.js b/web-ui/test/spec/mixins/with_mail_sandbox.spec.js new file mode 100644 index 00000000..7f5c39a3 --- /dev/null +++ b/web-ui/test/spec/mixins/with_mail_sandbox.spec.js @@ -0,0 +1,14 @@ +describeMixin('mixins/with_mail_sandbox', function() { + 'use strict'; + + beforeEach(function() { + this.setupComponent(); + }); + + it('should open reply container', function () { + var showContainerEvent = spyOnEvent(document, Pixelated.events.ui.replyBox.showReplyContainer); + this.component.showMailOnSandbox(Pixelated.testData().parsedMail.html); + expect(showContainerEvent).toHaveBeenTriggeredOn(document); + }); + +}); |