DEV: Use match_array for spec allowed groups (#520)

This commit is contained in:
Natalie Tay 2023-11-02 19:16:54 +08:00 committed by GitHub
parent 71f8484a75
commit 20cdd5ae87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ RSpec.describe Assigner do
assigner.assign(group2)
assigner.assign(group3)
expect(topic.allowed_groups).to eq([group1, group2])
expect(topic.allowed_groups).to match_array([group1, group2])
end
it "doesn't invite group to the PM if it's not messageable" do