aboutsummaryrefslogtreecommitdiffstats
path: root/test/rake/helper.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-16 03:49:09 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-16 03:49:09 +0000
commita632fe43d837f3cb05ed35012327aa60c37919b7 (patch)
tree0294493ad49772908be3faf2616451c8e380c145 /test/rake/helper.rb
parent48aab9e032f7deca5ccc994356428c86f75ef2f7 (diff)
downloadruby-a632fe43d837f3cb05ed35012327aa60c37919b7.tar.gz
* test/rake/helper.rb (Rake::TestCase#setup): revert r37669.
@orig_PWD should be the original pwd. * test/rake/test_*.rb: don't use @orig_PWD to load libraries. It should be specified with relative path from the file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rake/helper.rb')
-rw-r--r--test/rake/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rake/helper.rb b/test/rake/helper.rb
index b54390e0b8..288ff0e3b2 100644
--- a/test/rake/helper.rb
+++ b/test/rake/helper.rb
@@ -31,7 +31,7 @@ class Rake::TestCase < MiniTest::Unit::TestCase
def setup
ARGV.clear
- @orig_PWD = File.expand_path('../../..', __FILE__)
+ @orig_PWD = Dir.pwd
@orig_APPDATA = ENV['APPDATA']
@orig_HOME = ENV['HOME']
@orig_HOMEDRIVE = ENV['HOMEDRIVE']