From 1fe7c3ce82e5631af930b812359bb5dddd1b80f0 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 22 Aug 2013 20:18:52 +0200 Subject: [PATCH] fix email dao unit test --- test/new-unit/email-dao-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/new-unit/email-dao-test.js b/test/new-unit/email-dao-test.js index 2bcba1e..fe81943 100644 --- a/test/new-unit/email-dao-test.js +++ b/test/new-unit/email-dao-test.js @@ -256,7 +256,7 @@ define(function(require) { expect(newImapClientStub.getMessage.calledOnce).to.be.true; expect(err).to.not.exist; expect(message.uid).to.equal(uid); - expect(message.attachments[0].base64).to.exist; + expect(message.attachments[0].uint8Array).to.exist; emailDao._imapClient = imapClientStub; done(); });