DEV: Use match_array for spec allowed groups (#520)
This commit is contained in:
parent
71f8484a75
commit
20cdd5ae87
|
@ -759,7 +759,7 @@ RSpec.describe Assigner do
|
||||||
assigner.assign(group2)
|
assigner.assign(group2)
|
||||||
assigner.assign(group3)
|
assigner.assign(group3)
|
||||||
|
|
||||||
expect(topic.allowed_groups).to eq([group1, group2])
|
expect(topic.allowed_groups).to match_array([group1, group2])
|
||||||
end
|
end
|
||||||
|
|
||||||
it "doesn't invite group to the PM if it's not messageable" do
|
it "doesn't invite group to the PM if it's not messageable" do
|
||||||
|
|
Loading…
Reference in New Issue