@@ -160,6 +160,8 RAW | |||
|
160 | 160 | end |
|
161 | 161 | |
|
162 | 162 | def test_attached_images_with_markdown_and_non_ascii_filename |
|
163 | skip unless Object.const_defined?(:Redcarpet) | |
|
164 | ||
|
163 | 165 | attachment = Attachment.generate!(:filename => 'café.jpg') |
|
164 | 166 | with_settings :text_formatting => 'markdown' do |
|
165 | 167 | assert_include %(<img src="/attachments/download/#{attachment.id}/caf%C3%A9.jpg" alt="">), |
General Comments 0
You need to be logged in to leave comments.
Login now