lint
This commit is contained in:
parent
f60a1b0275
commit
bcbee91f0c
|
@ -1404,7 +1404,7 @@ describe User do
|
|||
let(:user) { Fabricate(:user) }
|
||||
|
||||
it 'should publish the right message' do
|
||||
message = MessageBus.track_publish { user.logged_out }.find { |m| m.channel == '/logout'}
|
||||
message = MessageBus.track_publish { user.logged_out }.find { |m| m.channel == '/logout' }
|
||||
|
||||
expect(message.channel).to eq('/logout')
|
||||
expect(message.data).to eq(user.id)
|
||||
|
|
Loading…
Reference in New Issue