removed bitly integration

This commit is contained in:
Abhinav Adduri 2017-06-22 15:32:52 -07:00
parent ab82700b0d
commit 60fd36a58e
3 changed files with 6 additions and 33 deletions

View file

@ -107,8 +107,7 @@ describe('Testing Set using aws', function() {
crypto.randomBytes.restore();
});
it('Should pass when the file is successfully uploaded and no bitly key', function() {
conf.bitly_key = null;
it('Should pass when the file is successfully uploaded', function() {
const buf = Buffer.alloc(10);
sinon.stub(crypto, 'randomBytes').returns(buf);
s3Stub.upload.callsArgWith(1, null, {});