diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-15 10:08:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-15 10:08:04 +0000 |
commit | c7510519e2fcded8f36aa1ae814d42bf3203d48e (patch) | |
tree | b20a7ca2263417a1f74b604a32eec545f0406c4e | |
parent | 8d8cba2e767bafb169d3391bdf4602ed72898390 (diff) | |
download | redmine-c7510519e2fcded8f36aa1ae814d42bf3203d48e.tar.gz redmine-c7510519e2fcded8f36aa1ae814d42bf3203d48e.zip |
Redcarpet not available with jruby (#19313).
git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@14105 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 a551dcf90..9536ff55e 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -165,6 +165,7 @@ RAW end end + if Object.const_defined?(:Redcarpet) def test_attached_images_with_markdown_and_non_ascii_filename attachment = Attachment.generate!(:filename => 'café.jpg') with_settings :text_formatting => 'markdown' do @@ -172,6 +173,7 @@ RAW textilizable("", :attachments => [attachment]) end end + end def test_attached_images_filename_extension set_tmp_attachments_directory |