mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
cf5b3d6798
commit
ae235db25d
3 changed files with 6 additions and 4 deletions
|
@ -14,6 +14,8 @@ class TestRDocParserChangeLog < RDoc::TestCase
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
@tempfile.close!
|
@tempfile.close!
|
||||||
|
|
||||||
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_class_can_parse
|
def test_class_can_parse
|
||||||
|
|
|
@ -33,11 +33,11 @@ class TestRDocRIDriver < RDoc::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
super
|
|
||||||
|
|
||||||
ENV['HOME'] = @orig_home
|
ENV['HOME'] = @orig_home
|
||||||
ENV['RI'] = @orig_ri
|
ENV['RI'] = @orig_ri
|
||||||
FileUtils.rm_rf @tmpdir
|
FileUtils.rm_rf @tmpdir
|
||||||
|
|
||||||
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
DUMMY_PAGER = ":;\n"
|
DUMMY_PAGER = ":;\n"
|
||||||
|
|
|
@ -36,12 +36,12 @@ class TestRDocRIPaths < RDoc::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
super
|
|
||||||
|
|
||||||
Gem.use_paths(*@orig_gem_path)
|
Gem.use_paths(*@orig_gem_path)
|
||||||
Gem::Specification.reset
|
Gem::Specification.reset
|
||||||
FileUtils.rm_rf @tempdir
|
FileUtils.rm_rf @tempdir
|
||||||
ENV.replace(@orig_env)
|
ENV.replace(@orig_env)
|
||||||
|
|
||||||
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_class_each
|
def test_class_each
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue