From fc4df508f0dd7aeac8b0b81a7bd0b5805cde08e8 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 21 Dec 2013 11:08:51 +0000 Subject: [PATCH] make IssuesHelperTest passes when config.threadsafe! is enabled (#12097) git-svn-id: http://svn.redmine.org/redmine/trunk@12427 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine.rb | 1 + test/unit/helpers/issues_helper_test.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/redmine.rb b/lib/redmine.rb index f7916172b..e62014c73 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -30,6 +30,7 @@ require 'redmine/activity' require 'redmine/activity/fetcher' require 'redmine/ciphering' require 'redmine/codeset_util' +require 'redmine/field_format' require 'redmine/i18n' require 'redmine/menu_manager' require 'redmine/notifiable' diff --git a/test/unit/helpers/issues_helper_test.rb b/test/unit/helpers/issues_helper_test.rb index 0f87d45bc..646588da3 100644 --- a/test/unit/helpers/issues_helper_test.rb +++ b/test/unit/helpers/issues_helper_test.rb @@ -23,6 +23,7 @@ class IssuesHelperTest < ActionView::TestCase include IssuesHelper include CustomFieldsHelper include ERB::Util + include Rails.application.routes.url_helpers fixtures :projects, :trackers, :issue_statuses, :issues, :enumerations, :users, :issue_categories,