1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 10:52:17 -05:00

fix tests

This commit is contained in:
Felix Hammerl 2014-05-13 16:43:39 +02:00
parent 533c3b20c9
commit e54daf1fd7

View File

@ -913,16 +913,7 @@ define(function(require) {
describe('getAttachment', function() { describe('getAttachment', function() {
var folder = 'asdasdasdasdasd', var folder = 'asdasdasdasdasd',
uid = 1234, uid = 1234;
imapGetStub;
beforeEach(function() {
imapGetStub = sinon.stub(emailSync, '_getBodyParts');
});
afterEach(function() {
emailSync._getBodyParts.restore();
});
it('should fetch an attachment from imap', function(done) { it('should fetch an attachment from imap', function(done) {
var attmt = {}; var attmt = {};