From b2184de2a81beea26cf3e68d769612df4ba156f3 Mon Sep 17 00:00:00 2001 From: Jefferson Stachelski Date: Tue, 23 Feb 2016 15:32:43 -0300 Subject: Returning 'not-sign' for no signature information When leap.mail receive not encrypted and not signed email it show as no-signature-information on pixelated Paring @thaissiqueira / @jeffhsta Issue #605 --- web-ui/test/spec/mail_view/ui/mail_view.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web-ui/test/spec') 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 1c1446f9..ae874621 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 @@ -165,7 +165,7 @@ describeComponent('mail_view/ui/mail_view', function () { it('assumes that there is no signature info to show', function() { var email = testData; email.security_casing = {imprints: [{state: 'no_signature_information'}]}; - expect(this.component.checkSigned(email)).toEqual(''); + expect(this.component.checkSigned(email)).toEqual('not-signed'); }); it('shows that mail is encrypted if it is', function() { -- cgit v1.2.3