fix tests

This commit is contained in:
Felix Hammerl 2014-05-13 16:43:39 +02:00
parent 533c3b20c9
commit e54daf1fd7
1 changed files with 1 additions and 10 deletions

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 = {};