DEV: Remove assertions that are not required.

This commit is contained in:
Guo Xiang Tan 2020-05-14 10:07:55 +08:00
parent c5ef465179
commit 3d5589e026
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -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