From 17f86d964fe05e677714baa35ec319abe13ae8bf Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Sun, 12 Dec 2010 23:24:34 +0000 Subject: 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 --- test/unit/principal_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/principal_test.rb') diff --git a/test/unit/principal_test.rb b/test/unit/principal_test.rb index e44f77177..8a7e3644c 100644 --- a/test/unit/principal_test.rb +++ b/test/unit/principal_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__) class PrincipalTest < ActiveSupport::TestCase -- cgit v1.2.3