Fix randomly failing spec.

This commit is contained in:
Guo Xiang Tan 2017-03-24 15:46:42 +08:00
parent 747f4812e4
commit b87c5eb1b6
1 changed files with 1 additions and 1 deletions

View File

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