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.
2 parents 78f3ce4 + 3dcd5dd commit b219402Copy full SHA for b219402
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