updated storage tests
This commit is contained in:
parent
67f586b65c
commit
a11b4b677c
2 changed files with 7 additions and 9 deletions
|
@ -122,10 +122,9 @@ describe('Testing Set to local filesystem', function() {
|
|||
fsStub.createWriteStream.returns({ on: stub });
|
||||
|
||||
return storage
|
||||
.set('test', { pipe: sinon.stub() }, 'Filename.moz', 'moz.la')
|
||||
.then(reply => {
|
||||
assert(reply.uuid);
|
||||
assert.equal(reply.url, 'moz.la');
|
||||
.set('test', { pipe: sinon.stub() }, 'Filename.moz', {})
|
||||
.then(deleteKey => {
|
||||
assert(deleteKey);
|
||||
})
|
||||
.catch(err => assert.fail());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue