diff options
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>'); }); }); }); |