]> source.dussan.org Git - redmine.git/commitdiff
Skip AttachmentsControllerTest#test_thumbnail_for_pdf_should_be_png when ImageMagick...
authorGo MAEDA <maeda@farend.jp>
Tue, 22 Oct 2019 14:12:09 +0000 (14:12 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 22 Oct 2019 14:12:09 +0000 (14:12 +0000)
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18826 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/attachments_controller_test.rb

index b9fad5ec2983621a6c2dd1b7c46f4da1b6826c1c..831c6e5fbb7a940da99fd455445d83794e9f6e7f 100644 (file)
@@ -470,6 +470,8 @@ class AttachmentsControllerTest < Redmine::ControllerTest
 
   if gs_installed?
     def test_thumbnail_for_pdf_should_be_png
+      skip unless convert_installed?
+
       Attachment.clear_thumbnails
       @request.session[:user_id] = 2
       get :thumbnail, :params => {