From 12890945e527c2803ad5a85ca4afbe1017c34025 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 26 Dec 2014 11:26:24 +0000 Subject: Allow attachment thumbnails from REST API (#18707). git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/test_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/test_helper.rb') diff --git a/test/test_helper.rb b/test/test_helper.rb index 22b96a809..bc2d178c1 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -131,6 +131,10 @@ class ActiveSupport::TestCase Redmine::Thumbnail.convert_available? end + def convert_installed? + self.class.convert_installed? + end + # Returns the path to the test +vendor+ repository def self.repository_path(vendor) path = Rails.root.join("tmp/test/#{vendor.downcase}_repository").to_s -- cgit v1.2.3