mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Improve spec.
This commit is contained in:
@@ -344,7 +344,7 @@ http://b.com/#{'a'*500}
|
|||||||
expect(lookup[:post_number]).to eq(1)
|
expect(lookup[:post_number]).to eq(1)
|
||||||
|
|
||||||
result = TopicLink.duplicate_lookup(post.topic)
|
result = TopicLink.duplicate_lookup(post.topic)
|
||||||
expect(result.count).to eq(0)
|
expect(result).to eq({})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user