Add missing require stubs and remove console.logs in unit tests

This commit is contained in:
James Allen
2017-05-22 15:33:52 +01:00
parent 3105c6743e
commit 59085c1ddd
5 changed files with 2 additions and 3 deletions
@@ -11,6 +11,7 @@ describe 'ProjectUpdateHandler', ->
@ProjectModel.update = sinon.stub().callsArg(3)
@handler = SandboxedModule.require modulePath, requires:
'../../models/Project':{Project:@ProjectModel}
'logger-sharelatex' : { log: sinon.stub() }
describe 'marking a project as recently updated', ->
it 'should send an update to mongo', (done)->