From a24834fa77bc5bb932f70aab4755d764dacc979c Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 2 Apr 2020 08:04:15 +0000 Subject: Skip thumbnail tests if ImageMagick convert command is not available (#33226). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19640 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/gantts_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/gantts_controller_test.rb') diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb index ec73dd5ca..e1f9be8fa 100644 --- a/test/functional/gantts_controller_test.rb +++ b/test/functional/gantts_controller_test.rb @@ -155,7 +155,7 @@ class GanttsControllerTest < Redmine::ControllerTest assert @response.body.starts_with?('%PDF') end - if Object.const_defined?(:MiniMagick) + if Object.const_defined?(:MiniMagick) && convert_installed? def test_gantt_should_export_to_png get :show, :params => { :project_id => 1, -- cgit v1.2.3