From: Jean-Philippe Lang Date: Sun, 15 Mar 2015 10:09:17 +0000 (+0000) Subject: Don't run test if Redcarpet is not available (#19313). X-Git-Tag: 3.1.0~194 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e920e951e752f8859f5bc1028a4b338876a014f4;p=redmine.git 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 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 %(),