mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: Reflected links weren't being cleaned up properly
This commit is contained in:
parent
aaafd9f26e
commit
e38f17524b
3 changed files with 24 additions and 30 deletions
|
@ -357,7 +357,7 @@ describe PostRevisor do
|
|||
revisor.revise!(newuser, { title: 'this is a test topic' })
|
||||
end
|
||||
|
||||
message = messages.find { |message| message.channel == "/topic/#{topic.id}" }
|
||||
message = messages.find { |m| m.channel == "/topic/#{topic.id}" }
|
||||
payload = message.data
|
||||
expect(payload[:reload_topic]).to eq(true)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue