From f2f5473ead184032d1de6208bc2530dfb88455fc Mon Sep 17 00:00:00 2001 From: Giovane Date: Mon, 9 Nov 2015 15:52:16 -0200 Subject: Adds style and tag information on 'No Mails available' message. - Issue #503 --- web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'web-ui/test/spec/mail_view/ui') diff --git a/web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js b/web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js index da19cf2e..2fee45ac 100644 --- a/web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js +++ b/web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js @@ -2,12 +2,9 @@ describeComponent('mail_view/ui/no_mails_available_pane', function () { 'use strict'; describe('after initialization', function () { - beforeEach(function () { - this.setupComponent(); - }); - it('renders template', function () { - expect(this.$node.html()).toMatch('
NO MAILS AVAILABLE.
'); + this.setupComponent({tag: 'inbox'}); + expect(this.$node.html()).toMatch('
NO EMAILS IN \'INBOX\'.
'); }); }); }); -- cgit v1.2.3