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__)
|
require File.expand_path('../../../test_helper', __FILE__)
|
||||||
|
|
||||||
class ApplicationHelperTest < ActionView::TestCase
|
class ApplicationHelperTest < ActionView::TestCase
|
||||||
|
include ERB::Util
|
||||||
|
|
||||||
fixtures :projects, :roles, :enabled_modules, :users,
|
fixtures :projects, :roles, :enabled_modules, :users,
|
||||||
:repositories, :changesets,
|
:repositories, :changesets,
|
||||||
:trackers, :issue_statuses, :issues, :versions, :documents,
|
:trackers, :issue_statuses, :issues, :versions, :documents,
|
||||||
|
|
|
@ -20,6 +20,7 @@ require File.expand_path('../../../test_helper', __FILE__)
|
||||||
class CustomFieldsHelperTest < ActionView::TestCase
|
class CustomFieldsHelperTest < ActionView::TestCase
|
||||||
include CustomFieldsHelper
|
include CustomFieldsHelper
|
||||||
include Redmine::I18n
|
include Redmine::I18n
|
||||||
|
include ERB::Util
|
||||||
|
|
||||||
def test_format_boolean_value
|
def test_format_boolean_value
|
||||||
I18n.locale = 'en'
|
I18n.locale = 'en'
|
||||||
|
|
|
@ -20,6 +20,7 @@ require File.expand_path('../../../test_helper', __FILE__)
|
||||||
class ProjectsHelperTest < ActionView::TestCase
|
class ProjectsHelperTest < ActionView::TestCase
|
||||||
include ApplicationHelper
|
include ApplicationHelper
|
||||||
include ProjectsHelper
|
include ProjectsHelper
|
||||||
|
include ERB::Util
|
||||||
|
|
||||||
fixtures :projects, :trackers, :issue_statuses, :issues,
|
fixtures :projects, :trackers, :issue_statuses, :issues,
|
||||||
:enumerations, :users, :issue_categories,
|
:enumerations, :users, :issue_categories,
|
||||||
|
|
|
@ -19,6 +19,7 @@ require File.expand_path('../../../test_helper', __FILE__)
|
||||||
|
|
||||||
class SortHelperTest < ActionView::TestCase
|
class SortHelperTest < ActionView::TestCase
|
||||||
include SortHelper
|
include SortHelper
|
||||||
|
include ERB::Util
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@session = nil
|
@session = nil
|
||||||
|
|
|
@ -21,6 +21,7 @@ class TimelogHelperTest < ActionView::TestCase
|
||||||
include TimelogHelper
|
include TimelogHelper
|
||||||
include ActionView::Helpers::TextHelper
|
include ActionView::Helpers::TextHelper
|
||||||
include ActionView::Helpers::DateHelper
|
include ActionView::Helpers::DateHelper
|
||||||
|
include ERB::Util
|
||||||
|
|
||||||
fixtures :projects, :roles, :enabled_modules, :users,
|
fixtures :projects, :roles, :enabled_modules, :users,
|
||||||
:repositories, :changesets,
|
:repositories, :changesets,
|
||||||
|
|
Loading…
Reference in New Issue