updated storage tests

This commit is contained in:
Danny Coates 2017-06-29 15:20:09 -07:00
parent 67f586b65c
commit a11b4b677c
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
2 changed files with 7 additions and 9 deletions

View file

@ -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());
});