From e920e951e752f8859f5bc1028a4b338876a014f4 2015-03-15 10:09:17 From: Jean-Philippe Lang Date: 2015-03-15 10:09:17 Subject: [PATCH] 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 --- diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index a4c5886..a129263 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 %(),