summaryrefslogtreecommitdiffstats
path: root/test/functional/gantts_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-04-02 08:04:15 +0000
committerGo MAEDA <maeda@farend.jp>2020-04-02 08:04:15 +0000
commita24834fa77bc5bb932f70aab4755d764dacc979c (patch)
tree2a016f01a6718e064a3961949f813e442e136b9a /test/functional/gantts_controller_test.rb
parent0f3cece5bb03a2bec9714a0fcd8bc936b8de706c (diff)
downloadredmine-a24834fa77bc5bb932f70aab4755d764dacc979c.tar.gz
redmine-a24834fa77bc5bb932f70aab4755d764dacc979c.zip
Skip thumbnail tests if ImageMagick convert command is not available (#33226).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19640 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/gantts_controller_test.rb')
-rw-r--r--test/functional/gantts_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
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,