]> source.dussan.org Git - redmine.git/commitdiff
Merged r14106 (#19313).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Mar 2015 10:09:43 +0000 (10:09 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Mar 2015 10:09:43 +0000 (10:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14107 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/helpers/application_helper_test.rb

index a4c588676f9b88f5bdd061a4a86f87746171db44..a1292632ebf18b58aba080281d4254993db6b706 100644 (file)
@@ -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="">),