mirror of
https://github.com/discourse/discourse.git
synced 2025-09-04 08:47:37 +08:00
FIX: local post onebox was always pointing to 1st post
This commit is contained in:
parent
ac701696b3
commit
3be0294465
3 changed files with 3 additions and 1 deletions
|
@ -54,6 +54,7 @@ describe Oneboxer do
|
|||
|
||||
onebox = preview(public_reply.url, user, public_category)
|
||||
expect(onebox).to include(public_reply.excerpt)
|
||||
expect(onebox).to include(%{data-post="2"})
|
||||
expect(onebox).to include(PrettyText.avatar_img(replier.avatar_template, "tiny"))
|
||||
|
||||
onebox = preview(public_reply.url, user, public_category, public_topic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue