summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_file_task.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/test_rake_file_task.rb
parent48aab9e032f7deca5ccc994356428c86f75ef2f7 (diff)
* 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/test_rake_file_task.rb')
-rw-r--r--test/rake/test_rake_file_task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rake/test_rake_file_task.rb b/test/rake/test_rake_file_task.rb
index a46851bd01..1935c8082a 100644
--- a/test/rake/test_rake_file_task.rb
+++ b/test/rake/test_rake_file_task.rb
@@ -116,7 +116,7 @@ class TestRakeFileTask < Rake::TestCase
end
def load_phony
- load File.join(@orig_PWD, "lib/rake/phony.rb")
+ load File.expand_path('../../../lib/rake/phony.rb', __FILE__)
end
end