mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
emoji images are now v5 not v3
TODO: we should not hardcode this
This commit is contained in:
@@ -8,7 +8,7 @@ RSpec.describe Jobs::RebakeCustomEmojiPosts do
|
||||
post = Fabricate(:post, raw: 'some post with :test: yay')
|
||||
|
||||
expect(post.reload.cooked).to eq(
|
||||
"<p>some post with <img src=\"#{upload.url}?v=3\" title=\":test:\" class=\"emoji emoji-custom\" alt=\":test:\"> yay</p>"
|
||||
"<p>some post with <img src=\"#{upload.url}?v=5\" title=\":test:\" class=\"emoji emoji-custom\" alt=\":test:\"> yay</p>"
|
||||
)
|
||||
|
||||
custom_emoji.destroy!
|
||||
|
||||
Reference in New Issue
Block a user