summaryrefslogtreecommitdiff
path: root/web-ui/test
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-03-06 16:58:00 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-03-06 16:58:09 -0300
commitbc3225efb7e21e413dd70eec7f6428e8447abfe7 (patch)
treec7a8cd42ad1fc8c80f17eb14cff978e493acc83b /web-ui/test
parent2766e29a946708cb9325b7228a84529daa604eca (diff)
for #288, changes current failure message to error
Diffstat (limited to 'web-ui/test')
-rw-r--r--web-ui/test/spec/mail_view/ui/mail_view.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/test/spec/mail_view/ui/mail_view.spec.js b/web-ui/test/spec/mail_view/ui/mail_view.spec.js
index 86b40591..deb7fb88 100644
--- a/web-ui/test/spec/mail_view/ui/mail_view.spec.js
+++ b/web-ui/test/spec/mail_view/ui/mail_view.spec.js
@@ -117,7 +117,7 @@ describeComponent('mail_view/ui/mail_view', function () {
it('assumes that the mail is encrypted and failure if all the locks are failed', function() {
var email = testData;
email.security_casing = {locks: [{state: 'failure'}, {state: 'failure'}]};
- expect(this.component.checkEncrypted(email)).toEqual('encrypted encryption-failure');
+ expect(this.component.checkEncrypted(email)).toEqual('encrypted encryption-error');
});
it('assumes that the mail is not encrypted if it doesn\'t have any locks', function() {