summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 07:29:00 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-27 07:29:00 +0000
commit7de9e2dfdeefeefe6c3d4ff9ebafa8c947eca33f (patch)
tree7c7958f7ea7cb29788b762f737e7143b6dcb2c96 /test/rdoc
parentef8e0908af4a1784d8e06b0110168e2df0f95f1e (diff)
* test/rdoc/test_rdoc_ri_paths.rb: Fixed duplicate path bug which
caused windows failures. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc')
-rw-r--r--test/rdoc/test_rdoc_ri_paths.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_ri_paths.rb b/test/rdoc/test_rdoc_ri_paths.rb
index 0ef80345bb..e377b0b1d0 100644
--- a/test/rdoc/test_rdoc_ri_paths.rb
+++ b/test/rdoc/test_rdoc_ri_paths.rb
@@ -19,7 +19,7 @@ class TestRDocRIPaths < RDoc::TestCase
]
specs.each do |spec|
- spec.loaded_from = File.join @tempdir, spec.spec_file
+ spec.loaded_from = spec.spec_file
open spec.spec_file, 'w' do |file|
file.write spec.to_ruby_for_cache