From e920e951e752f8859f5bc1028a4b338876a014f4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 15 Mar 2015 10:09:17 +0000 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 --- test/unit/helpers/application_helper_test.rb | 2 ++ 1 file changed, 2 insertions(+) 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 %(), -- 2.39.5