@@ -164,7 +164,7 RAW | |||||
164 |
|
164 | |||
165 | attachment = Attachment.generate!(:filename => 'café.jpg') |
|
165 | attachment = Attachment.generate!(:filename => 'café.jpg') | |
166 | with_settings :text_formatting => 'markdown' do |
|
166 | with_settings :text_formatting => 'markdown' do | |
167 | assert_include %(<img src="/attachments/download/#{attachment.id}/caf%C3%A9.jpg" alt="">), |
|
167 | assert_include %(<img src="/attachments/download/#{attachment.id}/caf%C3%A9.jpg" alt="" />), | |
168 | textilizable("", :attachments => [attachment]) |
|
168 | textilizable("", :attachments => [attachment]) | |
169 | end |
|
169 | end | |
170 | end |
|
170 | end |
General Comments 0
You need to be logged in to leave comments.
Login now