##// END OF EJS Templates
Adds a test for #24922....
Jean-Philippe Lang -
r15930:6ef7a0fc2dc3
parent child
Show More
@@ -169,6 +169,12 RAW
169 169 end
170 170 end
171 171
172 def test_attached_images_with_hires_naming
173 attachment = Attachment.generate!(:filename => 'image@2x.png')
174 assert_equal %(<p><img src="/attachments/download/#{attachment.id}/image@2x.png" srcset="/attachments/download/#{attachment.id}/image@2x.png 2x" alt="" /></p>),
175 textilizable("!image@2x.png!", :attachments => [attachment])
176 end
177
172 178 def test_attached_images_filename_extension
173 179 set_tmp_attachments_directory
174 180 a1 = Attachment.new(
General Comments 0
You need to be logged in to leave comments. Login now