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:
Sam Saffron 2019-10-04 09:56:28 +10:00
parent 6471fbd453
commit a49e484519
1 changed files with 1 additions and 1 deletions

View File

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