summaryrefslogtreecommitdiffstats
path: root/test/functional/gantts_controller_test.rb
diff options
context:
space:
mode:
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,