mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Make spec less brittle.
This commit is contained in:
parent
c6fe6a8820
commit
b4ef7dfe9a
@ -188,7 +188,7 @@ describe PostMover do
|
||||
expect(new_topic.like_count).to eq(1)
|
||||
|
||||
expect(new_topic.category).to eq(category)
|
||||
expect(new_topic.tags.pluck(:name)).to eq(["tag1", "tag2"])
|
||||
expect(new_topic.tags.pluck(:name)).to contain_exactly("tag1", "tag2")
|
||||
expect(topic.featured_user1_id).to be_blank
|
||||
expect(new_topic.posts.by_post_number).to match_array([p2, p4])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user