summaryrefslogtreecommitdiff
path: root/test/rake/test_rake_rake_test_loader.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-23 11:21:55 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-23 11:21:55 +0000
commitfe4ceb25b907b5cc5af46cc0d32ca67b10d7d7d5 (patch)
tree5873c9bbf77d4dc4837e0a0a91c3246431ee0ab3 /test/rake/test_rake_rake_test_loader.rb
parentf99bed93302a0485b615dd651915d1262c1d1bcb (diff)
* test/rake/test_rake_functional.rb (setup): Use __FILE__ for the base
directory. Current directory is not the top source directory when the building process runs on other than there. * test/rake/test_rake_rake_test_loader.rb: ditto. * test/rake/test_rake_task_argument_parsing.rb (test_terminal_width_using_hardcoded_80): hardcoded 80 is used when app.unix? is false. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rake/test_rake_rake_test_loader.rb')
-rw-r--r--test/rake/test_rake_rake_test_loader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rake/test_rake_rake_test_loader.rb b/test/rake/test_rake_rake_test_loader.rb
index 5b5e81d06d5..be3c7da61f0 100644
--- a/test/rake/test_rake_rake_test_loader.rb
+++ b/test/rake/test_rake_rake_test_loader.rb
@@ -10,7 +10,7 @@ class TestRakeRakeTestLoader < Rake::TestCase
ARGV.replace %w[foo.rb test_*.rb -v]
- load File.join(@orig_PWD, 'lib/rake/rake_test_loader.rb')
+ load File.expand_path('../../../lib/rake/rake_test_loader.rb', __FILE__)
assert_equal %w[-v], ARGV
ensure