fixed leaky test

This commit is contained in:
Henry Oswald 2014-10-16 16:02:31 +01:00
parent 1b893ff502
commit d8cc3b7b61

View file

@ -11,6 +11,7 @@ describe "CompileController", ->
beforeEach -> beforeEach ->
@CompileManager = @CompileManager =
compile: sinon.stub() compile: sinon.stub()
@ClsiManager = {}
@CompileController = SandboxedModule.require modulePath, requires: @CompileController = SandboxedModule.require modulePath, requires:
"settings-sharelatex": @settings = "settings-sharelatex": @settings =
apis: apis: