Include ERB::Util in helpers tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9090 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-03-04 13:53:38 +00:00
parent 8071b71c5d
commit fa12fad4f2
5 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,8 @@
require File.expand_path('../../../test_helper', __FILE__)
class ApplicationHelperTest < ActionView::TestCase
include ERB::Util
fixtures :projects, :roles, :enabled_modules, :users,
:repositories, :changesets,
:trackers, :issue_statuses, :issues, :versions, :documents,

View File

@ -20,6 +20,7 @@ require File.expand_path('../../../test_helper', __FILE__)
class CustomFieldsHelperTest < ActionView::TestCase
include CustomFieldsHelper
include Redmine::I18n
include ERB::Util
def test_format_boolean_value
I18n.locale = 'en'

View File

@ -20,6 +20,7 @@ require File.expand_path('../../../test_helper', __FILE__)
class ProjectsHelperTest < ActionView::TestCase
include ApplicationHelper
include ProjectsHelper
include ERB::Util
fixtures :projects, :trackers, :issue_statuses, :issues,
:enumerations, :users, :issue_categories,

View File

@ -19,6 +19,7 @@ require File.expand_path('../../../test_helper', __FILE__)
class SortHelperTest < ActionView::TestCase
include SortHelper
include ERB::Util
def setup
@session = nil

View File

@ -21,6 +21,7 @@ class TimelogHelperTest < ActionView::TestCase
include TimelogHelper
include ActionView::Helpers::TextHelper
include ActionView::Helpers::DateHelper
include ERB::Util
fixtures :projects, :roles, :enabled_modules, :users,
:repositories, :changesets,