end
end
+ class HelperTest < ActionView::TestCase
+
+ end
+
class ControllerTest < ActionController::TestCase
def process(method, path, parameters={}, session={}, flash={})
if parameters.key?(:params) || parameters.key?(:session)
require File.expand_path('../../../test_helper', __FILE__)
-class ActivitiesHelperTest < ActionView::TestCase
+class ActivitiesHelperTest < Redmine::HelperTest
include ActivitiesHelper
include Redmine::I18n
require File.expand_path('../../../test_helper', __FILE__)
-class ApplicationHelperTest < ActionView::TestCase
+class ApplicationHelperTest < Redmine::HelperTest
include Redmine::I18n
include ERB::Util
include Rails.application.routes.url_helpers
require File.expand_path('../../../test_helper', __FILE__)
-class CustomFieldsHelperTest < ActionView::TestCase
+class CustomFieldsHelperTest < Redmine::HelperTest
include ApplicationHelper
include CustomFieldsHelper
include Redmine::I18n
require File.expand_path('../../../test_helper', __FILE__)
-class GroupsHelperTest < ActionView::TestCase
+class GroupsHelperTest < Redmine::HelperTest
include Redmine::I18n
include ERB::Util
include GroupsHelper
require File.expand_path('../../../test_helper', __FILE__)
-class IssuesHelperTest < ActionView::TestCase
+class IssuesHelperTest < Redmine::HelperTest
include Redmine::I18n
include IssuesHelper
include CustomFieldsHelper
require File.expand_path('../../../test_helper', __FILE__)
-class JournalsHelperTest < ActionView::TestCase
+class JournalsHelperTest < Redmine::HelperTest
include JournalsHelper
fixtures :projects, :trackers, :issue_statuses, :issues,
require File.expand_path('../../../test_helper', __FILE__)
-class MembersHelperTest < ActionView::TestCase
+class MembersHelperTest < Redmine::HelperTest
include Redmine::I18n
include ERB::Util
include MembersHelper
require File.expand_path('../../../test_helper', __FILE__)
-class MyHelperTest < ActionView::TestCase
+class MyHelperTest < Redmine::HelperTest
include Redmine::I18n
include ERB::Util
include MyHelper
require File.expand_path('../../../test_helper', __FILE__)
-class ProjectsHelperTest < ActionView::TestCase
+class ProjectsHelperTest < Redmine::HelperTest
include ApplicationHelper
include ProjectsHelper
include Redmine::I18n
require File.expand_path('../../../test_helper', __FILE__)
-class QueriesHelperTest < ActionView::TestCase
+class QueriesHelperTest < Redmine::HelperTest
include QueriesHelper
include Redmine::I18n
require File.expand_path('../../../test_helper', __FILE__)
-class RoutesHelperTest < ActionView::TestCase
+class RoutesHelperTest < Redmine::HelperTest
fixtures :projects, :issues
include Rails.application.routes.url_helpers
require File.expand_path('../../../test_helper', __FILE__)
-class SearchHelperTest < ActionView::TestCase
+class SearchHelperTest < Redmine::HelperTest
include SearchHelper
include Redmine::I18n
include ERB::Util
require File.expand_path('../../../test_helper', __FILE__)
-class SettingsHelperTest < ActionView::TestCase
+class SettingsHelperTest < Redmine::HelperTest
include SettingsHelper
include Redmine::I18n
include ERB::Util
require File.expand_path('../../../test_helper', __FILE__)
-class SortHelperTest < ActionView::TestCase
+class SortHelperTest < Redmine::HelperTest
include SortHelper
include Redmine::I18n
include ERB::Util
require File.expand_path('../../../test_helper', __FILE__)
-class TimelogHelperTest < ActionView::TestCase
+class TimelogHelperTest < Redmine::HelperTest
include TimelogHelper
include Redmine::I18n
include ActionView::Helpers::TextHelper
require File.expand_path('../../../test_helper', __FILE__)
-class VersionsHelperTest < ActionView::TestCase
+class VersionsHelperTest < Redmine::HelperTest
include Rails.application.routes.url_helpers
fixtures :projects, :versions
require File.expand_path('../../../test_helper', __FILE__)
-class WatchersHelperTest < ActionView::TestCase
+class WatchersHelperTest < Redmine::HelperTest
include WatchersHelper
include Redmine::I18n
include Rails.application.routes.url_helpers
require File.expand_path('../../../test_helper', __FILE__)
-class WikiHelperTest < ActionView::TestCase
+class WikiHelperTest < Redmine::HelperTest
include WikiHelper
include Rails.application.routes.url_helpers