Update test for fcb6e0c06

This commit is contained in:
Dan Stillman 2016-06-02 16:37:26 -04:00
parent 7f339af104
commit b5b8f2cd2f

View file

@ -205,8 +205,7 @@ describe("Zotero.Attachments", function() {
var storageDir = Zotero.Attachments.getStorageDirectory(attachment).path;
var file = yield attachment.getFilePathAsync();
assert.equal(OS.Path.basename(file), 'index.html');
var filesFolder = OS.Path.join(storageDir, 'index_files');
assert.isTrue(yield OS.File.exists(filesFolder, 'img.gif'));
assert.isTrue(yield OS.File.exists(OS.Path.join(storageDir, 'img.gif')));
});
});