summaryrefslogtreecommitdiffstats
path: root/test/unit/enabled_module_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/unit/enabled_module_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/unit/enabled_module_test.rb')
-rw-r--r--test/unit/enabled_module_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/enabled_module_test.rb b/test/unit/enabled_module_test.rb
index 5e662ebc7..ccf6566d8 100644
--- a/test/unit/enabled_module_test.rb
+++ b/test/unit/enabled_module_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 EnabledModuleTest < ActiveSupport::TestCase
fixtures :projects, :wikis