diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-15 10:09:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-15 10:09:17 +0000 |
commit | e920e951e752f8859f5bc1028a4b338876a014f4 (patch) | |
tree | 2e4b5b0e599666e00d5320eec209227c4fb8fe29 /test | |
parent | 07033fff2c047e3277f7f0e00adeb3872497c79c (diff) | |
download | redmine-e920e951e752f8859f5bc1028a4b338876a014f4.tar.gz redmine-e920e951e752f8859f5bc1028a4b338876a014f4.zip |
Don't run test if Redcarpet is not available (#19313).
git-svn-id: http://svn.redmine.org/redmine/trunk@14106 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-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="">), |