1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 17:02: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() {
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 = {};