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:
parent
8071b71c5d
commit
fa12fad4f2
|
@ -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,
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -19,6 +19,7 @@ require File.expand_path('../../../test_helper', __FILE__)
|
|||
|
||||
class SortHelperTest < ActionView::TestCase
|
||||
include SortHelper
|
||||
include ERB::Util
|
||||
|
||||
def setup
|
||||
@session = nil
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue