Patch #38093 ยป require_relative.patch
extra/sample_plugin/test/integration/routing_test.rb | ||
---|---|---|
1 |
require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper')
|
|
1 |
require_relative '../../../../test/test_helper'
|
|
2 | 2 | |
3 | 3 |
class SamplePluginRoutingTest < ActionDispatch::IntegrationTest |
4 | 4 |
def test_example |
lib/generators/redmine_plugin/templates/test_helper.rb.erb | ||
---|---|---|
1 | 1 |
# Load the Redmine helper |
2 |
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') |
|
2 |
require_relative '../../../test/test_helper' |
lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb | ||
---|---|---|
1 |
require File.expand_path('../../test_helper', __FILE__)
|
|
1 |
require_relative '../test_helper'
|
|
2 | 2 | |
3 | 3 |
class <%= @controller_class %>ControllerTest < ActionController::TestCase |
4 | 4 |
# Replace this with your real tests. |
lib/generators/redmine_plugin_model/templates/unit_test.rb.erb | ||
---|---|---|
1 |
require File.expand_path('../../test_helper', __FILE__)
|
|
1 |
require_relative '../test_helper'
|
|
2 | 2 | |
3 | 3 |
class <%= @model_class %>Test < ActiveSupport::TestCase |
4 | 4 |
lib/redmine/wiki_formatting.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../wiki_formatting/textile/redcloth3', __FILE__)
|
|
20 |
require_relative 'wiki_formatting/textile/redcloth3'
|
|
21 | 21 |
require 'digest/md5' |
22 | 22 | |
23 | 23 |
module Redmine |
test/application_system_test_case.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../test_helper', __FILE__)
|
|
20 |
require_relative 'test_helper'
|
|
21 | 21 |
require 'webdrivers/chromedriver' |
22 | 22 | |
23 | 23 |
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase |
test/extra/redmine_pm/repository_git_test_pm.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../test_case', __FILE__)
|
|
20 |
require_relative 'test_case'
|
|
21 | 21 |
require 'tmpdir' |
22 | 22 | |
23 | 23 |
class RedminePmTest::RepositoryGitTest < RedminePmTest::TestCase |
test/extra/redmine_pm/repository_subversion_test_pm.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../test_case', __FILE__)
|
|
20 |
require_relative 'test_case'
|
|
21 | 21 |
require 'tmpdir' |
22 | 22 | |
23 | 23 |
class RedminePmTest::RepositorySubversionTest < RedminePmTest::TestCase |
test/extra/redmine_pm/test_case.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
module RedminePmTest |
23 | 23 |
class TestCase < ActiveSupport::TestCase |
test/functional/account_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AccountControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :users, :email_addresses, :roles |
test/functional/activities_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ActivitiesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/functional/admin_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AdminControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :email_addresses, :roles |
test/functional/application_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ApplicationControllerTest < Redmine::ControllerTest |
23 | 23 |
def test_back_url_should_remove_utf8_checkmark_from_referer |
test/functional/attachments_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AttachmentsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :users, :user_preferences, :projects, :roles, :members, :member_roles, |
test/functional/attachments_visibility_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AttachmentsVisibilityTest < Redmine::ControllerTest |
23 | 23 |
tests AttachmentsController |
test/functional/auth_sources_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AuthSourcesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :users, :auth_sources |
test/functional/auto_completes_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AutoCompletesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :issues, :issue_statuses, |
test/functional/boards_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class BoardsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :members, :member_roles, :roles, :boards, :messages, :enabled_modules |
test/functional/calendars_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class CalendarsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, |
test/functional/comments_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class CommentsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, :enabled_modules, :news, :comments |
test/functional/context_menus_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ContextMenusControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, |
test/functional/custom_field_enumerations_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class CustomFieldEnumerationsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :users, :email_addresses |
test/functional/custom_fields_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class CustomFieldsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :custom_fields, :custom_values, |
test/functional/documents_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class DocumentsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, |
test/functional/email_addresses_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class EmailAddressesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :users, :email_addresses |
test/functional/enumerations_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class EnumerationsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :enumerations, :issues, :users |
test/functional/files_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class FilesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/functional/gantts_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class GanttsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/functional/groups_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class GroupsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :members, :member_roles, :roles, :groups_users |
test/functional/imports_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ImportsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :enabled_modules, |
test/functional/issue_categories_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class IssueCategoriesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :members, :member_roles, :roles, :enabled_modules, :issue_categories, |
test/functional/issue_relations_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class IssueRelationsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, |
test/functional/issue_statuses_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class IssueStatusesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :issue_statuses, :issues, :users, :trackers, :workflows |
test/functional/issues_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class IssuesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, |
test/functional/issues_controller_transaction_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 |
require 'issues_controller' |
22 | 22 | |
23 | 23 |
class IssuesControllerTransactionTest < Redmine::ControllerTest |
test/functional/issues_custom_fields_visibility_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest |
23 | 23 |
tests IssuesController |
test/functional/journals_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class JournalsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :members, :member_roles, :roles, |
test/functional/mail_handler_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class MailHandlerControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :users, :email_addresses, :projects, :enabled_modules, |
test/functional/members_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class MembersControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :members, :member_roles, :roles, :users |
test/functional/messages_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class MessagesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :email_addresses, :user_preferences, :members, :member_roles, :roles, :boards, :messages, :enabled_modules, |
test/functional/my_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class MyControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :users, :email_addresses, :user_preferences, |
test/functional/news_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class NewsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, |
test/functional/previews_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class PreviewsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/functional/principal_memberships_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class PrincipalMembershipsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :members, :member_roles, :roles, :groups_users |
test/functional/project_enumerations_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ProjectEnumerationsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/functional/projects_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ProjectsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :versions, :users, :email_addresses, :roles, :members, |
test/functional/queries_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class QueriesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :enabled_modules, |
test/functional/reports_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ReportsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/functional/repositories_bazaar_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RepositoriesBazaarControllerTest < Redmine::RepositoryControllerTest |
23 | 23 |
tests RepositoriesController |
test/functional/repositories_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RepositoriesControllerTest < Redmine::RepositoryControllerTest |
23 | 23 |
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, :enabled_modules, |
test/functional/repositories_cvs_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RepositoriesCvsControllerTest < Redmine::RepositoryControllerTest |
23 | 23 |
tests RepositoriesController |
test/functional/repositories_filesystem_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RepositoriesFilesystemControllerTest < Redmine::RepositoryControllerTest |
23 | 23 |
tests RepositoriesController |
test/functional/repositories_git_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest |
23 | 23 |
tests RepositoriesController |
test/functional/repositories_mercurial_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RepositoriesMercurialControllerTest < Redmine::RepositoryControllerTest |
23 | 23 |
tests RepositoriesController |
test/functional/repositories_subversion_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest |
23 | 23 |
tests RepositoriesController |
test/functional/roles_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RolesControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :roles, :users, :members, :member_roles, :workflows, :trackers |
test/functional/search_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SearchControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :projects_trackers, |
test/functional/search_custom_fields_visibility_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SearchCustomFieldsVisibilityTest < Redmine::ControllerTest |
23 | 23 |
tests SearchController |
test/functional/sessions_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SessionsControllerTest < Redmine::ControllerTest |
23 | 23 |
include Redmine::I18n |
test/functional/settings_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SettingsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/functional/sys_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SysControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :repositories, :enabled_modules |
test/functional/timelog_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class TimelogControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :enabled_modules, :roles, :members, |
test/functional/timelog_custom_fields_visibility_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class TimelogCustomFieldsVisibilityTest < Redmine::ControllerTest |
23 | 23 |
tests TimelogController |
test/functional/timelog_report_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class TimelogReportTest < Redmine::ControllerTest |
23 | 23 |
tests TimelogController |
test/functional/trackers_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class TrackersControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :trackers, :projects, :projects_trackers, :users, :issues, :custom_fields, :issue_statuses |
test/functional/users_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class UsersControllerTest < Redmine::ControllerTest |
23 | 23 |
include Redmine::I18n |
test/functional/versions_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class VersionsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :enabled_modules, |
test/functional/versions_custom_fields_visibility_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class VersionsCustomFieldsVisibilityTest < Redmine::ControllerTest |
23 | 23 |
tests VersionsController |
test/functional/watchers_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class WatchersControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, |
test/functional/welcome_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class WelcomeControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :news, :users, :members, :roles, :member_roles, :enabled_modules |
test/functional/wiki_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class WikiControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, |
test/functional/wikis_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class WikisControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :wikis |
test/functional/workflows_controller_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class WorkflowsControllerTest < Redmine::ControllerTest |
23 | 23 |
fixtures :roles, :trackers, :workflows, :users, :issue_statuses, :custom_fields |
test/helpers/activities_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ActivitiesHelperTest < Redmine::HelperTest |
23 | 23 |
include ActivitiesHelper |
test/helpers/application_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ApplicationHelperTest < Redmine::HelperTest |
23 | 23 |
include ERB::Util |
test/helpers/avatars_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AvatarsHelperTest < Redmine::HelperTest |
23 | 23 |
include ERB::Util |
test/helpers/custom_fields_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class CustomFieldsHelperTest < Redmine::HelperTest |
23 | 23 |
include ApplicationHelper |
test/helpers/groups_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class GroupsHelperTest < Redmine::HelperTest |
23 | 23 |
include ERB::Util |
test/helpers/issues_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class IssuesHelperTest < Redmine::HelperTest |
23 | 23 |
include IssuesHelper |
test/helpers/journals_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class JournalsHelperTest < Redmine::HelperTest |
23 | 23 |
include JournalsHelper |
test/helpers/members_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class MembersHelperTest < Redmine::HelperTest |
23 | 23 |
include ERB::Util |
test/helpers/projects_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ProjectsHelperTest < Redmine::HelperTest |
23 | 23 |
include ApplicationHelper |
test/helpers/projects_queries_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ProjectsQueriesHelperTest < Redmine::HelperTest |
23 | 23 |
include ProjectsQueriesHelper |
test/helpers/queries_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class QueriesHelperTest < Redmine::HelperTest |
23 | 23 |
include QueriesHelper |
test/helpers/reports_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class ReportsHlperTest < Redmine::HelperTest |
23 | 23 |
include ReportsHelper |
test/helpers/routes_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class RoutesHelperTest < Redmine::HelperTest |
23 | 23 |
fixtures :projects, :issues |
test/helpers/search_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SearchHelperTest < Redmine::HelperTest |
23 | 23 |
include SearchHelper |
test/helpers/settings_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SettingsHelperTest < Redmine::HelperTest |
23 | 23 |
include SettingsHelper |
test/helpers/sort_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class SortHelperTest < Redmine::HelperTest |
23 | 23 |
include SortHelper |
test/helpers/timelog_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class TimelogHelperTest < Redmine::HelperTest |
23 | 23 |
include TimelogHelper |
test/helpers/version_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class VersionsHelperTest < Redmine::HelperTest |
23 | 23 |
include Rails.application.routes.url_helpers |
test/helpers/watchers_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class WatchersHelperTest < Redmine::HelperTest |
23 | 23 |
include WatchersHelper |
test/helpers/wiki_helper_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class WikiHelperTest < Redmine::HelperTest |
23 | 23 |
include WikiHelper |
test/integration/account_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AccountTest < Redmine::IntegrationTest |
23 | 23 |
fixtures :users, :email_addresses, :roles |
test/integration/admin_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../test_helper', __FILE__)
|
|
20 |
require_relative '../test_helper'
|
|
21 | 21 | |
22 | 22 |
class AdminTest < Redmine::IntegrationTest |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/integration/api_test/api_routing_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing |
23 | 23 |
test/integration/api_test/api_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :users, :email_addresses, :members, :member_roles, :roles, :projects |
test/integration/api_test/attachments_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/integration/api_test/authentication_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::AuthenticationTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :users |
test/integration/api_test/custom_fields_attribute_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::CustomFieldsAttributeTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :users |
test/integration/api_test/custom_fields_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::CustomFieldsTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :users, :custom_fields |
test/integration/api_test/disabled_rest_api_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::DisabledRestApiTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/integration/api_test/enumerations_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::EnumerationsTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :enumerations |
test/integration/api_test/files_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::FilesTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, |
test/integration/api_test/groups_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::GroupsTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :users, :groups_users, :email_addresses |
test/integration/api_test/issue_categories_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::IssueCategoriesTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :users, :issue_categories, :issues, |
test/integration/api_test/issue_relations_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::IssueRelationsTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/integration/api_test/issue_statuses_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::IssueStatusesTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :issue_statuses |
test/integration/api_test/issues_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures( |
test/integration/api_test/journals_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::JournalTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :issues, :issue_statuses, :journals, :journal_details, |
test/integration/api_test/jsonp_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::JsonpTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :trackers |
test/integration/api_test/memberships_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::MembershipsTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :users, :roles, :members, :member_roles |
test/integration/api_test/my_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::MyTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :users, :email_addresses, :members, :member_roles, :roles, :projects |
test/integration/api_test/news_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::NewsTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/integration/api_test/projects_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::ProjectsTest < Redmine::ApiTest::Base |
23 | 23 |
include ActiveJob::TestHelper |
test/integration/api_test/queries_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
19 | 19 | |
20 |
require File.expand_path('../../../test_helper', __FILE__)
|
|
20 |
require_relative '../../test_helper'
|
|
21 | 21 | |
22 | 22 |
class Redmine::ApiTest::QueriesTest < Redmine::ApiTest::Base |
23 | 23 |
fixtures :projects, :trackers, :issue_statuses, :issues, |
test/integration/api_test/repositories_test.rb | ||
---|---|---|
17 | 17 |
# along with this program; if not, write to the Free Software |
18 | 18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |