fix broken tests

This commit is contained in:
Henry Oswald 2018-12-05 15:41:12 +00:00
parent 7a7f1aed91
commit bbd88e75eb

View file

@ -560,12 +560,6 @@ describe 'WebsocketController', ->
it "should call the callback", ->
@callback.called.should.equal true
it "should update the active users metric", ->
@metrics.set.calledWith("editor.active-users", @user_id).should.equal true
it "should update the active projects metric", ->
@metrics.set.calledWith("editor.active-projects", @project_id).should.equal true
it "should increment the doc updates", ->
@metrics.inc.calledWith("editor.doc-update").should.equal true