From 3d5589e026a0e5bc317c5a3334a35158fe0711fd Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 14 May 2020 10:07:55 +0800 Subject: [PATCH] DEV: Remove assertions that are not required. --- .../spec/requests/presence_controller_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/discourse-presence/spec/requests/presence_controller_spec.rb b/plugins/discourse-presence/spec/requests/presence_controller_spec.rb index b0b3343097b..b18d731b9b8 100644 --- a/plugins/discourse-presence/spec/requests/presence_controller_spec.rb +++ b/plugins/discourse-presence/spec/requests/presence_controller_spec.rb @@ -208,9 +208,6 @@ describe ::Presence::PresencesController do message = messages.first - expect(message.channel).to eq("/presence/#{public_topic.id}") - expect(message.data.dig(:user, :id)).to eq(user.id) - expect(message.data[:published_at]).to eq(Time.zone.now.to_i) expect(message.group_ids).to contain_exactly(Group::AUTO_GROUPS[:staff]) expect(message.user_ids).to eq(nil) end