We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5769cb5 commit 4e9f0eaCopy full SHA for 4e9f0ea
test/rdoc/test_rdoc_ri_paths.rb
@@ -6,6 +6,7 @@ class TestRDocRIPaths < RDoc::TestCase
6
def setup
7
super
8
9
+ @orig_env = ENV.to_hash
10
@orig_gem_path = Gem.path
11
12
@tempdir = File.join Dir.tmpdir, "test_rdoc_ri_paths_#{$$}"
@@ -40,6 +41,7 @@ def teardown
40
41
Gem.use_paths(*@orig_gem_path)
42
Gem::Specification.reset
43
FileUtils.rm_rf @tempdir
44
+ ENV.replace(@orig_env)
45
end
46
47
def test_class_each
0 commit comments