From 6d10e451353ff5684852742483b6818ad1c811f1 Mon Sep 17 00:00:00 2001 From: James Allen Date: Fri, 7 Nov 2014 12:35:10 +0000 Subject: [PATCH] Fix unit test --- .../test/UnitTests/coffee/Editor/EditorControllerTests.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee b/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee index 023add50f5..3f0211d4c2 100644 --- a/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee +++ b/services/web/test/UnitTests/coffee/Editor/EditorControllerTests.coffee @@ -177,7 +177,7 @@ describe "EditorController", -> .should.equal true it "should return the project model view, privilege level and protocol version", -> - @callback.calledWith(null, @projectModelView, "owner", @EditorController.protocolVersion).should.equal true + @callback.calledWith(null, @projectModelView, "owner").should.equal true describe "when not authorized", -> beforeEach -> @@ -186,7 +186,7 @@ describe "EditorController", -> @EditorController.buildJoinProjectView(@project_id, @user_id, @callback) it "should return false in the callback", -> - @callback.calledWith(null, null, false, @EditorController.protocolVersion).should.equal true + @callback.calledWith(null, null, false).should.equal true describe "leaveProject", ->