mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: manually adds frowning_face_with_open_mouth for apple (#13528)
This commit is contained in:
@ -120,7 +120,7 @@ RSpec.describe UploadSecurity do
|
||||
|
||||
describe "when it is based on a regular emoji" do
|
||||
it "returns false" do
|
||||
falafel = Emoji.all.find { |e| e.url == '/images/emoji/twitter/falafel.png?v=9' }
|
||||
falafel = Emoji.all.find { |e| e.url == "/images/emoji/twitter/falafel.png?v=#{Emoji::EMOJI_VERSION}" }
|
||||
upload.update!(origin: "http://localhost:3000#{falafel.url}")
|
||||
expect(subject.should_be_secure?).to eq(false)
|
||||
end
|
||||
|
Reference in New Issue
Block a user