diff options
author | Giovane <giovaneliberato@gmail.com> | 2015-11-09 15:52:16 -0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-11-09 18:58:52 +0100 |
commit | f2f5473ead184032d1de6208bc2530dfb88455fc (patch) | |
tree | 248a9e4122ff5316e36698161e284e2f7579f4aa /web-ui/test/spec/mail_view/ui | |
parent | a222f811d07846dfdbeac963fa753fedbd88c13a (diff) |
Adds style and tag information on 'No Mails available' message.
- Issue #503
Diffstat (limited to 'web-ui/test/spec/mail_view/ui')
-rw-r--r-- | web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js | 7 |
1 files changed, 2 insertions, 5 deletions
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('<div class="text">NO MAILS AVAILABLE.</div>'); + this.setupComponent({tag: 'inbox'}); + expect(this.$node.html()).toMatch('<div class="text">NO EMAILS IN \'INBOX\'.</div>'); }); }); }); |