From e54daf1fd7969e1e9da2b9fea41ade6b40a78e21 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Tue, 13 May 2014 16:43:39 +0200 Subject: [PATCH] fix tests --- test/new-unit/email-dao-test.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/test/new-unit/email-dao-test.js b/test/new-unit/email-dao-test.js index b8b6085..cc30337 100644 --- a/test/new-unit/email-dao-test.js +++ b/test/new-unit/email-dao-test.js @@ -913,16 +913,7 @@ define(function(require) { describe('getAttachment', function() { var folder = 'asdasdasdasdasd', - uid = 1234, - imapGetStub; - - beforeEach(function() { - imapGetStub = sinon.stub(emailSync, '_getBodyParts'); - }); - - afterEach(function() { - emailSync._getBodyParts.restore(); - }); + uid = 1234; it('should fetch an attachment from imap', function(done) { var attmt = {};