summaryrefslogtreecommitdiff
path: root/web-ui/test
diff options
context:
space:
mode:
authorPatrick Maia <patrickjourdanmaia@gmail.com>2014-10-01 18:46:58 -0300
committerPatrick Maia <patrickjourdanmaia@gmail.com>2014-10-01 18:47:55 -0300
commiteffec78faacc4def3cd1f1f7fbedf79eaeb824f5 (patch)
tree8aca439ff1a7110578346e54d4aa30e16a9c8261 /web-ui/test
parent1b936ef4deb233c97035e845b044954355da8d33 (diff)
#53 - does not show modal on when all tags are removed. Now its allowed to do so.
Diffstat (limited to 'web-ui/test')
-rw-r--r--web-ui/test/spec/mail_view/ui/mail_view.spec.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/web-ui/test/spec/mail_view/ui/mail_view.spec.js b/web-ui/test/spec/mail_view/ui/mail_view.spec.js
index 58577f90..48d7bda2 100644
--- a/web-ui/test/spec/mail_view/ui/mail_view.spec.js
+++ b/web-ui/test/spec/mail_view/ui/mail_view.spec.js
@@ -211,32 +211,6 @@ describeComponent('mail_view/ui/mail_view', function () {
expect(openNoMessageSelectedPaneEvent).not.toHaveBeenTriggeredOn(document);
});
- describe('archiving email', function() {
- it('trigger tag updates events with no tags', function(){
- var tagsUpdateEvent = spyOnEvent(document, Pixelated.events.mail.tags.update);
-
- Foundation.global.namespace = '';
- $(document).foundation();
-
- this.component.displayMail({}, testData);
- this.component.archiveIt();
-
- expect(tagsUpdateEvent).toHaveBeenTriggeredOnAndWith(document, { ident: testData.mail.ident, tags: []});
- });
-
- it('opens no message selected pane', function() {
- var openNoMessageSelectedEvent = spyOnEvent(document, Pixelated.events.dispatchers.rightPane.openNoMessageSelected);
-
- Foundation.global.namespace = '';
- $(document).foundation();
-
- this.component.displayMail({}, testData);
- this.component.archiveIt();
-
- expect(openNoMessageSelectedEvent).toHaveBeenTriggeredOn(document);
- });
- });
-
it('opens the no message selected pane when clicking the close button', function() {
var openNoMessageSelectedEvent = spyOnEvent(document, Pixelated.events.dispatchers.rightPane.openNoMessageSelected);