summaryrefslogtreecommitdiffstats
path: root/test/functional/reports_controller_test.rb
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-12-12 23:24:34 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-12-12 23:24:34 +0000
commit17f86d964fe05e677714baa35ec319abe13ae8bf (patch)
tree0b5c1d07883152cfe5ed8b1a7b76c2388d97583d /test/functional/reports_controller_test.rb
parentf9f1bd58d6a6563e99b067195975c7b101817ab0 (diff)
downloadredmine-17f86d964fe05e677714baa35ec319abe13ae8bf.tar.gz
redmine-17f86d964fe05e677714baa35ec319abe13ae8bf.zip
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
Diffstat (limited to 'test/functional/reports_controller_test.rb')
-rw-r--r--test/functional/reports_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/reports_controller_test.rb b/test/functional/reports_controller_test.rb
index db9d9cda7..183f5c583 100644
--- a/test/functional/reports_controller_test.rb
+++ b/test/functional/reports_controller_test.rb
@@ -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.