emoji images are now v5 not v3

TODO: we should not hardcode this
This commit is contained in:
Joffrey JAFFEUX
2017-06-05 16:10:36 +02:00
parent ab8a1a377c
commit 09d34b7642
3 changed files with 7 additions and 7 deletions

View File

@@ -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!