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 4c8cb70 commit 3dcd5ddCopy full SHA for 3dcd5dd
test/rdoc/support/test_case.rb
@@ -76,7 +76,7 @@ def g.file_dir() end
76
# Abstract test-case teardown
77
78
def teardown
79
- ENV["HOME"] = @orig_home
+ ENV["HOME"] = @orig_home if defined?(@orig_home)
80
81
super
82
end
0 commit comments