@@ -165,6 +165,7 RAW | |||
|
165 | 165 | end |
|
166 | 166 | end |
|
167 | 167 | |
|
168 | if Object.const_defined?(:Redcarpet) | |
|
168 | 169 | def test_attached_images_with_markdown_and_non_ascii_filename |
|
169 | 170 | attachment = Attachment.generate!(:filename => 'café.jpg') |
|
170 | 171 | with_settings :text_formatting => 'markdown' do |
@@ -172,6 +173,7 RAW | |||
|
172 | 173 | textilizable("", :attachments => [attachment]) |
|
173 | 174 | end |
|
174 | 175 | end |
|
176 | end | |
|
175 | 177 | |
|
176 | 178 | def test_attached_images_filename_extension |
|
177 | 179 | set_tmp_attachments_directory |
General Comments 0
You need to be logged in to leave comments.
Login now