From 62ff59cbbb2aa4c4af378b6d0fc9dd853c8867e3 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Wed, 9 Mar 2016 17:22:57 +0100 Subject: Issue #620: Adapt unit tests to CSS changes --- web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js') 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 157e6c47..1bf79b96 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('
NO EMAILS IN \'INBOX\'.
'); + expect(this.$node.html()).toMatch('
\n NO EMAILS IN \'INBOX\'.\n
'); }); it('show different message for search with no results', function () { this.setupComponent({tag: 'all', forSearch: 'search'}); - expect(this.$node.html()).toMatch('
NO RESULTS FOR: \'SEARCH\'.
'); + expect(this.$node.html()).toMatch('
\n NO RESULTS FOR: \'SEARCH\'.\n
'); }); it('show only tag information when listing all mails', function () { this.setupComponent({tag: 'all', forSearch: 'in:all'}); - expect(this.$node.html()).toMatch('
NO EMAILS IN \'ALL\'.
'); + expect(this.$node.html()).toMatch('
\n NO EMAILS IN \'ALL\'.\n
'); }); }); }); -- cgit v1.2.3