Update test for fcb6e0c06
This commit is contained in:
parent
7f339af104
commit
b5b8f2cd2f
1 changed files with 1 additions and 2 deletions
|
@ -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')));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue