diff options
Diffstat (limited to 'web-ui/test')
| -rw-r--r-- | web-ui/test/spec/mail_view/ui/no_mails_available_pane.spec.js | 5 | 
1 files changed, 5 insertions, 0 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 2fee45ac..868efc76 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 @@ -6,5 +6,10 @@ describeComponent('mail_view/ui/no_mails_available_pane', function () {              this.setupComponent({tag: 'inbox'});              expect(this.$node.html()).toMatch('<div class="text">NO EMAILS IN \'INBOX\'.</div>');          }); + +        it('show different message for search with no results', function () { +            this.setupComponent({tag: 'all', forSearch: 'search'}); +            expect(this.$node.html()).toMatch('<div class="text">NO RESULTS FOR: \'SEARCH\'.</div>'); +        });      });  }); | 
