mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 22:26:26 +08:00
DEV: correct flaky test testing message content
This test was expecting user id ordering which is not really required. Order of users does not matter
This commit is contained in:
parent
6471fbd453
commit
a49e484519
|
@ -89,7 +89,7 @@ describe TopicTrackingState do
|
|||
|
||||
expect(message.channel).to eq('/private-messages/inbox')
|
||||
expect(message.data["topic_id"]).to eq(private_message_topic.id)
|
||||
expect(message.user_ids).to eq(allowed_users.map(&:id))
|
||||
expect(message.user_ids).to contain_exactly(*allowed_users.map(&:id))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user