Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'account_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class ActivitiesControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'admin_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'application_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'attachments_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class AuthSourcesControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class AutoCompletesControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'boards_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class CalendarsControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class CommentsControllerTest < ActionController::TestCase
|
||||
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :news, :comments
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class ContextMenusControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'custom_fields_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'documents_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'enumerations_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class FilesControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class GanttsControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'groups_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'issue_categories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class IssueMovesControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'issue_relations_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'issue_statuses_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'issues_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'issues_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'journals_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'mail_handler_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'members_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'messages_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'my_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'news_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class PreviewsControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class ProjectEnumerationsControllerTest < ActionController::TestCase
|
||||
fixtures :all
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'projects_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'queries_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'reports_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'repositories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'repositories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'repositories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'repositories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'repositories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'repositories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'repositories_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'roles_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'search_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'settings_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'sys_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class TimeEntryReportsControllerTest < ActionController::TestCase
|
||||
fixtures :projects, :enabled_modules, :roles, :members, :member_roles, :issues, :time_entries, :users, :trackers, :enumerations, :issue_statuses, :custom_fields, :custom_values
|
||||
|
||||
@@ -16,7 +16,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'timelog_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'trackers_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'users_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'versions_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'watchers_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'welcome_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'wiki_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'wikis_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
@@ -15,7 +15,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.dirname(__FILE__) + '/../test_helper'
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
require 'workflows_controller'
|
||||
|
||||
# Re-raise errors caught by the controller.
|
||||
|
||||
Reference in New Issue
Block a user