Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/5.1.0
@@ -1,4 +1,4 @@ | |||
require File.expand_path(File.dirname(__FILE__) + '../../../../../test/test_helper') | |||
require_relative '../../../../test/test_helper' | |||
class SamplePluginRoutingTest < ActionDispatch::IntegrationTest | |||
def test_example |
@@ -1,2 +1,2 @@ | |||
# Load the Redmine helper | |||
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') | |||
require_relative '../../../test/test_helper' |
@@ -1,4 +1,4 @@ | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class <%= @controller_class %>ControllerTest < ActionController::TestCase | |||
# Replace this with your real tests. |
@@ -1,4 +1,4 @@ | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class <%= @model_class %>Test < ActiveSupport::TestCase | |||
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../wiki_formatting/textile/redcloth3', __FILE__) | |||
require_relative 'wiki_formatting/textile/redcloth3' | |||
require 'digest/md5' | |||
module Redmine |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../test_helper', __FILE__) | |||
require_relative 'test_helper' | |||
require 'webdrivers/chromedriver' | |||
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../test_case', __FILE__) | |||
require_relative 'test_case' | |||
require 'tmpdir' | |||
class RedminePmTest::RepositoryGitTest < RedminePmTest::TestCase |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../test_case', __FILE__) | |||
require_relative 'test_case' | |||
require 'tmpdir' | |||
class RedminePmTest::RepositorySubversionTest < RedminePmTest::TestCase |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../../test_helper', __FILE__) | |||
require_relative '../../test_helper' | |||
module RedminePmTest | |||
class TestCase < ActiveSupport::TestCase |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AccountControllerTest < Redmine::ControllerTest | |||
fixtures :users, :email_addresses, :roles |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ActivitiesControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AdminControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :email_addresses, :roles |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ApplicationControllerTest < Redmine::ControllerTest | |||
def test_back_url_should_remove_utf8_checkmark_from_referer |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AttachmentsControllerTest < Redmine::ControllerTest | |||
fixtures :users, :user_preferences, :projects, :roles, :members, :member_roles, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AttachmentsVisibilityTest < Redmine::ControllerTest | |||
tests AttachmentsController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AuthSourcesControllerTest < Redmine::ControllerTest | |||
fixtures :users, :auth_sources |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AutoCompletesControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :issues, :issue_statuses, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class BoardsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :members, :member_roles, :roles, :boards, :messages, :enabled_modules |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class CalendarsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class CommentsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, :enabled_modules, :news, :comments |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ContextMenusControllerTest < Redmine::ControllerTest | |||
fixtures :projects, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class CustomFieldEnumerationsControllerTest < Redmine::ControllerTest | |||
fixtures :users, :email_addresses |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class CustomFieldsControllerTest < Redmine::ControllerTest | |||
fixtures :custom_fields, :custom_values, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class DocumentsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class EmailAddressesControllerTest < Redmine::ControllerTest | |||
fixtures :users, :email_addresses |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class EnumerationsControllerTest < Redmine::ControllerTest | |||
fixtures :enumerations, :issues, :users |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class FilesControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class GanttsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class GroupsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :members, :member_roles, :roles, :groups_users |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ImportsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :enabled_modules, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class IssueCategoriesControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :members, :member_roles, :roles, :enabled_modules, :issue_categories, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class IssueRelationsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class IssueStatusesControllerTest < Redmine::ControllerTest | |||
fixtures :issue_statuses, :issues, :users, :trackers, :workflows |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class IssuesControllerTest < Redmine::ControllerTest | |||
fixtures :projects, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
require 'issues_controller' | |||
class IssuesControllerTransactionTest < Redmine::ControllerTest |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class IssuesCustomFieldsVisibilityTest < Redmine::ControllerTest | |||
tests IssuesController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class JournalsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :members, :member_roles, :roles, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class MailHandlerControllerTest < Redmine::ControllerTest | |||
fixtures :users, :email_addresses, :projects, :enabled_modules, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class MembersControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :members, :member_roles, :roles, :users |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class MessagesControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :email_addresses, :user_preferences, :members, :member_roles, :roles, :boards, :messages, :enabled_modules, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class MyControllerTest < Redmine::ControllerTest | |||
fixtures :users, :email_addresses, :user_preferences, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class NewsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class PreviewsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class PrincipalMembershipsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :members, :member_roles, :roles, :groups_users |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ProjectEnumerationsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ProjectsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :versions, :users, :email_addresses, :roles, :members, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class QueriesControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :enabled_modules, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ReportsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RepositoriesBazaarControllerTest < Redmine::RepositoryControllerTest | |||
tests RepositoriesController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RepositoriesControllerTest < Redmine::RepositoryControllerTest | |||
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, :enabled_modules, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RepositoriesCvsControllerTest < Redmine::RepositoryControllerTest | |||
tests RepositoriesController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RepositoriesFilesystemControllerTest < Redmine::RepositoryControllerTest | |||
tests RepositoriesController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest | |||
tests RepositoriesController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RepositoriesMercurialControllerTest < Redmine::RepositoryControllerTest | |||
tests RepositoriesController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RepositoriesSubversionControllerTest < Redmine::RepositoryControllerTest | |||
tests RepositoriesController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RolesControllerTest < Redmine::ControllerTest | |||
fixtures :roles, :users, :members, :member_roles, :workflows, :trackers |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SearchControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :projects_trackers, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SearchCustomFieldsVisibilityTest < Redmine::ControllerTest | |||
tests SearchController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SessionsControllerTest < Redmine::ControllerTest | |||
include Redmine::I18n |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SettingsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SysControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :repositories, :enabled_modules |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class TimelogControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :enabled_modules, :roles, :members, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class TimelogCustomFieldsVisibilityTest < Redmine::ControllerTest | |||
tests TimelogController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class TimelogReportTest < Redmine::ControllerTest | |||
tests TimelogController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class TrackersControllerTest < Redmine::ControllerTest | |||
fixtures :trackers, :projects, :projects_trackers, :users, :issues, :custom_fields, :issue_statuses |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class UsersControllerTest < Redmine::ControllerTest | |||
include Redmine::I18n |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class VersionsControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :enabled_modules, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class VersionsCustomFieldsVisibilityTest < Redmine::ControllerTest | |||
tests VersionsController |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class WatchersControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class WelcomeControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :news, :users, :members, :roles, :member_roles, :enabled_modules |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class WikiControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class WikisControllerTest < Redmine::ControllerTest | |||
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :wikis |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class WorkflowsControllerTest < Redmine::ControllerTest | |||
fixtures :roles, :trackers, :workflows, :users, :issue_statuses, :custom_fields |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ActivitiesHelperTest < Redmine::HelperTest | |||
include ActivitiesHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ApplicationHelperTest < Redmine::HelperTest | |||
include ERB::Util |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AvatarsHelperTest < Redmine::HelperTest | |||
include ERB::Util |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class CustomFieldsHelperTest < Redmine::HelperTest | |||
include ApplicationHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class GroupsHelperTest < Redmine::HelperTest | |||
include ERB::Util |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class IssuesHelperTest < Redmine::HelperTest | |||
include IssuesHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class JournalsHelperTest < Redmine::HelperTest | |||
include JournalsHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class MembersHelperTest < Redmine::HelperTest | |||
include ERB::Util |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ProjectsHelperTest < Redmine::HelperTest | |||
include ApplicationHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ProjectsQueriesHelperTest < Redmine::HelperTest | |||
include ProjectsQueriesHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class QueriesHelperTest < Redmine::HelperTest | |||
include QueriesHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class ReportsHlperTest < Redmine::HelperTest | |||
include ReportsHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class RoutesHelperTest < Redmine::HelperTest | |||
fixtures :projects, :issues |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SearchHelperTest < Redmine::HelperTest | |||
include SearchHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SettingsHelperTest < Redmine::HelperTest | |||
include SettingsHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class SortHelperTest < Redmine::HelperTest | |||
include SortHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class TimelogHelperTest < Redmine::HelperTest | |||
include TimelogHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class VersionsHelperTest < Redmine::HelperTest | |||
include Rails.application.routes.url_helpers |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class WatchersHelperTest < Redmine::HelperTest | |||
include WatchersHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class WikiHelperTest < Redmine::HelperTest | |||
include WikiHelper |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AccountTest < Redmine::IntegrationTest | |||
fixtures :users, :email_addresses, :roles |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../test_helper', __FILE__) | |||
require_relative '../test_helper' | |||
class AdminTest < Redmine::IntegrationTest | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../../test_helper', __FILE__) | |||
require_relative '../../test_helper' | |||
class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing | |||
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../../test_helper', __FILE__) | |||
require_relative '../../test_helper' | |||
class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base | |||
fixtures :users, :email_addresses, :members, :member_roles, :roles, :projects |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../../test_helper', __FILE__) | |||
require_relative '../../test_helper' | |||
class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base | |||
fixtures :projects, :trackers, :issue_statuses, :issues, |
@@ -17,7 +17,7 @@ | |||
# along with this program; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
require File.expand_path('../../../test_helper', __FILE__) | |||
require_relative '../../test_helper' | |||
class Redmine::ApiTest::AuthenticationTest < Redmine::ApiTest::Base | |||
fixtures :users |