Fix unit tests

This commit is contained in:
James Allen 2017-05-22 15:24:52 +01:00
parent ba62206b91
commit 3105c6743e

View file

@ -547,7 +547,7 @@ describe "EditorController", ->
@err = "errro"
@window_id = "kdsjklj290jlk"
@newName = "new name here"
@ProjectDetailsHandler.renameProject = sinon.stub().callsArgWith(2, @err)
@ProjectDetailsHandler.renameProject = sinon.stub().callsArg(2)
@EditorRealTimeController.emitToRoom = sinon.stub()
it "should call the EditorController", (done)->