mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00:00
DEV: Remove duplicated assertion.
This commit is contained in:
parent
96aca20fd7
commit
2feeba0f1c
@ -584,7 +584,6 @@ describe PostMover do
|
|||||||
p2.reload
|
p2.reload
|
||||||
expect(p2.topic.archetype).to eq(Archetype.private_message)
|
expect(p2.topic.archetype).to eq(Archetype.private_message)
|
||||||
expect(p2.topic.topic_allowed_users.where(user_id: another_user.id).count).to eq(1)
|
expect(p2.topic.topic_allowed_users.where(user_id: another_user.id).count).to eq(1)
|
||||||
expect(p2.topic.topic_allowed_users.where(user_id: another_user.id).count).to eq(1)
|
|
||||||
expect(p2.topic.topic_allowed_users.where(user_id: evil_trout.id).count).to eq(1)
|
expect(p2.topic.topic_allowed_users.where(user_id: evil_trout.id).count).to eq(1)
|
||||||
expect(p2.topic.tags.pluck(:name)).to eq([])
|
expect(p2.topic.tags.pluck(:name)).to eq([])
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user