diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-15 10:09:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-15 10:09:43 +0000 |
commit | 348401e16584dfcad596d4c15d46ea0ba2208080 (patch) | |
tree | dd33bfa917250b9bb495f58e2feb3319172c8e05 | |
parent | f9a62f2dc3241ae2f717f740da860903ad7ae346 (diff) | |
download | redmine-348401e16584dfcad596d4c15d46ea0ba2208080.tar.gz redmine-348401e16584dfcad596d4c15d46ea0ba2208080.zip |
Merged r14106 (#19313).
git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14107 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index a4c588676..a1292632e 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -160,6 +160,8 @@ RAW end def test_attached_images_with_markdown_and_non_ascii_filename + skip unless Object.const_defined?(:Redcarpet) + attachment = Attachment.generate!(:filename => 'café.jpg') with_settings :text_formatting => 'markdown' do assert_include %(<img src="/attachments/download/#{attachment.id}/caf%C3%A9.jpg" alt="">), |