From de1e3408cc7d8a4beff703944c3659aeb9032fd2 Mon Sep 17 00:00:00 2001 From: Robin Doherty Date: Thu, 12 Nov 2015 20:25:53 +1100 Subject: remove save draft button, related css and js --- web-ui/test/spec/mail_view/ui/draft_box.spec.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'web-ui/test/spec/mail_view/ui/draft_box.spec.js') diff --git a/web-ui/test/spec/mail_view/ui/draft_box.spec.js b/web-ui/test/spec/mail_view/ui/draft_box.spec.js index be3b4039..96880adf 100644 --- a/web-ui/test/spec/mail_view/ui/draft_box.spec.js +++ b/web-ui/test/spec/mail_view/ui/draft_box.spec.js @@ -41,16 +41,6 @@ describeComponent('mail_view/ui/draft_box', function () { }); - it('sending a draft sends the correct mailIdent', function () { - this.setupComponent({mailIdent: mail.ident}); - this.component.trigger(this.component, Pixelated.events.mail.here, { mail: mail}); - - var sendDraftEvent = spyOnEvent(document, Pixelated.events.mail.saveDraft); - this.component.select('draftButton').click(); - - expect(sendDraftEvent).toHaveBeenTriggeredOnAndWith(document, jasmine.objectContaining({ident: mail.ident})); - }); - it('shows no message selected pane when draft is sent', function() { var openNoMessageSelectedEvent = spyOnEvent(document, Pixelated.events.dispatchers.rightPane.openNoMessageSelected); -- cgit v1.2.3