mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 04:14:38 +08:00
Fix randomly failing spec.
This commit is contained in:
@ -228,7 +228,7 @@ describe TopicsBulkAction do
|
||||
topic_ids = tba.perform!
|
||||
expect(topic_ids).to eq([])
|
||||
topic.reload
|
||||
expect(topic.tags.map(&:name)).to eq([tag1.name, tag2.name])
|
||||
expect(topic.tags.map(&:name)).to contain_exactly(tag1.name, tag2.name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user