@@ -277,6 +277,10 module Redmine | |||||
277 | end |
|
277 | end | |
278 | end |
|
278 | end | |
279 |
|
279 | |||
|
280 | class HelperTest < ActionView::TestCase | |||
|
281 | ||||
|
282 | end | |||
|
283 | ||||
280 | class ControllerTest < ActionController::TestCase |
|
284 | class ControllerTest < ActionController::TestCase | |
281 | def process(method, path, parameters={}, session={}, flash={}) |
|
285 | def process(method, path, parameters={}, session={}, flash={}) | |
282 | if parameters.key?(:params) || parameters.key?(:session) |
|
286 | if parameters.key?(:params) || parameters.key?(:session) |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class ActivitiesHelperTest < |
|
20 | class ActivitiesHelperTest < Redmine::HelperTest | |
21 | include ActivitiesHelper |
|
21 | include ActivitiesHelper | |
22 | include Redmine::I18n |
|
22 | include Redmine::I18n | |
23 |
|
23 |
@@ -19,7 +19,7 | |||||
19 |
|
19 | |||
20 | require File.expand_path('../../../test_helper', __FILE__) |
|
20 | require File.expand_path('../../../test_helper', __FILE__) | |
21 |
|
21 | |||
22 |
class ApplicationHelperTest < |
|
22 | class ApplicationHelperTest < Redmine::HelperTest | |
23 | include Redmine::I18n |
|
23 | include Redmine::I18n | |
24 | include ERB::Util |
|
24 | include ERB::Util | |
25 | include Rails.application.routes.url_helpers |
|
25 | include Rails.application.routes.url_helpers |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class CustomFieldsHelperTest < |
|
20 | class CustomFieldsHelperTest < Redmine::HelperTest | |
21 | include ApplicationHelper |
|
21 | include ApplicationHelper | |
22 | include CustomFieldsHelper |
|
22 | include CustomFieldsHelper | |
23 | include Redmine::I18n |
|
23 | include Redmine::I18n |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class GroupsHelperTest < |
|
20 | class GroupsHelperTest < Redmine::HelperTest | |
21 | include Redmine::I18n |
|
21 | include Redmine::I18n | |
22 | include ERB::Util |
|
22 | include ERB::Util | |
23 | include GroupsHelper |
|
23 | include GroupsHelper |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class IssuesHelperTest < |
|
20 | class IssuesHelperTest < Redmine::HelperTest | |
21 | include Redmine::I18n |
|
21 | include Redmine::I18n | |
22 | include IssuesHelper |
|
22 | include IssuesHelper | |
23 | include CustomFieldsHelper |
|
23 | include CustomFieldsHelper |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class JournalsHelperTest < |
|
20 | class JournalsHelperTest < Redmine::HelperTest | |
21 | include JournalsHelper |
|
21 | include JournalsHelper | |
22 |
|
22 | |||
23 | fixtures :projects, :trackers, :issue_statuses, :issues, |
|
23 | fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class MembersHelperTest < |
|
20 | class MembersHelperTest < Redmine::HelperTest | |
21 | include Redmine::I18n |
|
21 | include Redmine::I18n | |
22 | include ERB::Util |
|
22 | include ERB::Util | |
23 | include MembersHelper |
|
23 | include MembersHelper |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class MyHelperTest < |
|
20 | class MyHelperTest < Redmine::HelperTest | |
21 | include Redmine::I18n |
|
21 | include Redmine::I18n | |
22 | include ERB::Util |
|
22 | include ERB::Util | |
23 | include MyHelper |
|
23 | include MyHelper |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class ProjectsHelperTest < |
|
20 | class ProjectsHelperTest < Redmine::HelperTest | |
21 | include ApplicationHelper |
|
21 | include ApplicationHelper | |
22 | include ProjectsHelper |
|
22 | include ProjectsHelper | |
23 | include Redmine::I18n |
|
23 | include Redmine::I18n |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class QueriesHelperTest < |
|
20 | class QueriesHelperTest < Redmine::HelperTest | |
21 | include QueriesHelper |
|
21 | include QueriesHelper | |
22 | include Redmine::I18n |
|
22 | include Redmine::I18n | |
23 |
|
23 |
@@ -19,7 +19,7 | |||||
19 |
|
19 | |||
20 | require File.expand_path('../../../test_helper', __FILE__) |
|
20 | require File.expand_path('../../../test_helper', __FILE__) | |
21 |
|
21 | |||
22 |
class RoutesHelperTest < |
|
22 | class RoutesHelperTest < Redmine::HelperTest | |
23 | fixtures :projects, :issues |
|
23 | fixtures :projects, :issues | |
24 |
|
24 | |||
25 | include Rails.application.routes.url_helpers |
|
25 | include Rails.application.routes.url_helpers |
@@ -19,7 +19,7 | |||||
19 |
|
19 | |||
20 | require File.expand_path('../../../test_helper', __FILE__) |
|
20 | require File.expand_path('../../../test_helper', __FILE__) | |
21 |
|
21 | |||
22 |
class SearchHelperTest < |
|
22 | class SearchHelperTest < Redmine::HelperTest | |
23 | include SearchHelper |
|
23 | include SearchHelper | |
24 | include Redmine::I18n |
|
24 | include Redmine::I18n | |
25 | include ERB::Util |
|
25 | include ERB::Util |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class SettingsHelperTest < |
|
20 | class SettingsHelperTest < Redmine::HelperTest | |
21 | include SettingsHelper |
|
21 | include SettingsHelper | |
22 | include Redmine::I18n |
|
22 | include Redmine::I18n | |
23 | include ERB::Util |
|
23 | include ERB::Util |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class SortHelperTest < |
|
20 | class SortHelperTest < Redmine::HelperTest | |
21 | include SortHelper |
|
21 | include SortHelper | |
22 | include Redmine::I18n |
|
22 | include Redmine::I18n | |
23 | include ERB::Util |
|
23 | include ERB::Util |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class TimelogHelperTest < |
|
20 | class TimelogHelperTest < Redmine::HelperTest | |
21 | include TimelogHelper |
|
21 | include TimelogHelper | |
22 | include Redmine::I18n |
|
22 | include Redmine::I18n | |
23 | include ActionView::Helpers::TextHelper |
|
23 | include ActionView::Helpers::TextHelper |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class VersionsHelperTest < |
|
20 | class VersionsHelperTest < Redmine::HelperTest | |
21 | include Rails.application.routes.url_helpers |
|
21 | include Rails.application.routes.url_helpers | |
22 |
|
22 | |||
23 | fixtures :projects, :versions |
|
23 | fixtures :projects, :versions |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class WatchersHelperTest < |
|
20 | class WatchersHelperTest < Redmine::HelperTest | |
21 | include WatchersHelper |
|
21 | include WatchersHelper | |
22 | include Redmine::I18n |
|
22 | include Redmine::I18n | |
23 | include Rails.application.routes.url_helpers |
|
23 | include Rails.application.routes.url_helpers |
@@ -17,7 +17,7 | |||||
17 |
|
17 | |||
18 | require File.expand_path('../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 |
class WikiHelperTest < |
|
20 | class WikiHelperTest < Redmine::HelperTest | |
21 | include WikiHelper |
|
21 | include WikiHelper | |
22 | include Rails.application.routes.url_helpers |
|
22 | include Rails.application.routes.url_helpers | |
23 |
|
23 |
General Comments 0
You need to be logged in to leave comments.
Login now