mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
ae235db25d
commit
cc8f55e9e3
2 changed files with 2 additions and 2 deletions
|
@ -8,6 +8,8 @@ require 'rdoc/markdown'
|
||||||
class TestRDocMarkdown < RDoc::TestCase
|
class TestRDocMarkdown < RDoc::TestCase
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
|
super
|
||||||
|
|
||||||
@RM = RDoc::Markup
|
@RM = RDoc::Markup
|
||||||
|
|
||||||
@parser = RDoc::Markdown.new
|
@parser = RDoc::Markdown.new
|
||||||
|
|
|
@ -13,7 +13,6 @@ class TestRDocRIDriver < RDoc::TestCase
|
||||||
FileUtils.mkdir_p @home_ri
|
FileUtils.mkdir_p @home_ri
|
||||||
|
|
||||||
@orig_ri = ENV['RI']
|
@orig_ri = ENV['RI']
|
||||||
@orig_home = ENV['HOME']
|
|
||||||
ENV['HOME'] = @tmpdir
|
ENV['HOME'] = @tmpdir
|
||||||
@rdoc_home = File.join ENV["HOME"], ".rdoc"
|
@rdoc_home = File.join ENV["HOME"], ".rdoc"
|
||||||
FileUtils.mkdir_p @rdoc_home
|
FileUtils.mkdir_p @rdoc_home
|
||||||
|
@ -33,7 +32,6 @@ class TestRDocRIDriver < RDoc::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
ENV['HOME'] = @orig_home
|
|
||||||
ENV['RI'] = @orig_ri
|
ENV['RI'] = @orig_ri
|
||||||
FileUtils.rm_rf @tmpdir
|
FileUtils.rm_rf @tmpdir
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue