Commit e8e2f92f authored by jplang's avatar jplang

Include ERB::Util in helpers tests.

git-svn-id: https://svn.redmine.org/redmine/trunk@9090 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f30520c1
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment