diff --git a/test/rdoc/test_rdoc_markdown.rb b/test/rdoc/test_rdoc_markdown.rb index 021d94297b..9c7a406224 100644 --- a/test/rdoc/test_rdoc_markdown.rb +++ b/test/rdoc/test_rdoc_markdown.rb @@ -8,6 +8,8 @@ class TestRDocMarkdown < RDoc::TestCase def setup + super + @RM = RDoc::Markup @parser = RDoc::Markdown.new diff --git a/test/rdoc/test_rdoc_ri_driver.rb b/test/rdoc/test_rdoc_ri_driver.rb index e62323338b..f79d17b1cd 100644 --- a/test/rdoc/test_rdoc_ri_driver.rb +++ b/test/rdoc/test_rdoc_ri_driver.rb @@ -13,7 +13,6 @@ def setup FileUtils.mkdir_p @home_ri @orig_ri = ENV['RI'] - @orig_home = ENV['HOME'] ENV['HOME'] = @tmpdir @rdoc_home = File.join ENV["HOME"], ".rdoc" FileUtils.mkdir_p @rdoc_home @@ -33,7 +32,6 @@ def setup end def teardown - ENV['HOME'] = @orig_home ENV['RI'] = @orig_ri FileUtils.rm_rf @tmpdir