From 61b3a000b406de1c3e77c786c0d5b70480641246 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 24 Jul 2019 09:52:20 +0100 Subject: [PATCH] fix whitespace --- services/real-time/app/coffee/ChannelManager.coffee | 2 +- services/real-time/test/unit/coffee/RoomManagerTests.coffee | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/real-time/app/coffee/ChannelManager.coffee b/services/real-time/app/coffee/ChannelManager.coffee index 900fd764f5..8cec24156d 100644 --- a/services/real-time/app/coffee/ChannelManager.coffee +++ b/services/real-time/app/coffee/ChannelManager.coffee @@ -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}" diff --git a/services/real-time/test/unit/coffee/RoomManagerTests.coffee b/services/real-time/test/unit/coffee/RoomManagerTests.coffee index f9fde4dd83..294365dd61 100644 --- a/services/real-time/test/unit/coffee/RoomManagerTests.coffee +++ b/services/real-time/test/unit/coffee/RoomManagerTests.coffee @@ -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)