fix whitespace

This commit is contained in:
Brian Gough 2019-07-24 09:52:20 +01:00
parent 159b39c491
commit 61b3a000b4
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ module.exports = ChannelManager =
else
# get the subscribe promise and return it, the actual subscribe
# completes in the background
subscribePromise = rclient.subscribe channel
subscribePromise = rclient.subscribe channel
existingChannelSet.set(channel, subscribePromise)
logger.log {channel}, "subscribed to new channel"
metrics.inc "subscribe.#{baseChannel}"

View file

@ -16,7 +16,7 @@ describe 'RoomManager', ->
@RoomManager._clientsInRoom = sinon.stub()
@RoomEvents = @RoomManager.eventSource()
sinon.spy(@RoomEvents, 'emit')
sinon.spy(@RoomEvents, 'once')
sinon.spy(@RoomEvents, 'once')
describe "joinProject", ->
@ -152,7 +152,7 @@ describe 'RoomManager', ->
describe "when this is the only client connected", ->
beforeEach (done) ->
# first call is for the join,
# first call is for the join,
# second for the leave
@RoomManager._clientsInRoom
.withArgs(@client, @doc_id)