summaryrefslogtreecommitdiff
path: root/web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js')
-rw-r--r--web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js6
1 files changed, 3 insertions, 3 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 1bf79b96..87e0656e 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
@@ -4,17 +4,17 @@ describeComponent('mail_view/ui/no_mails_available_pane', function () {
describe('after initialization', function () {
it('renders template', function () {
this.setupComponent({tag: 'inbox'});
- expect(this.$node.html()).toMatch('<div class="no-mails-available-pane">\n NO EMAILS IN \'INBOX\'.\n</div>');
+ expect(this.$node.html()).toMatch('<div class="no-mails-available-pane">\n No emails in \'Inbox\'.\n</div>');
});
it('show different message for search with no results', function () {
this.setupComponent({tag: 'all', forSearch: 'search'});
- expect(this.$node.html()).toMatch('<div class="no-mails-available-pane">\n NO RESULTS FOR: \'SEARCH\'.\n</div>');
+ expect(this.$node.html()).toMatch('<div class="no-mails-available-pane">\n No results for: \'search\'.\n</div>');
});
it('show only tag information when listing all mails', function () {
this.setupComponent({tag: 'all', forSearch: 'in:all'});
- expect(this.$node.html()).toMatch('<div class="no-mails-available-pane">\n NO EMAILS IN \'ALL\'.\n</div>');
+ expect(this.$node.html()).toMatch('<div class="no-mails-available-pane">\n No emails in \'All\'.\n</div>');
});
});
});