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 fe490df + dd9be85 commit 8a44d71Copy full SHA for 8a44d71
lib/rubygems/test_case.rb
@@ -236,6 +236,7 @@ def setup
236
@fetcher = nil
237
238
Bundler.ui = Bundler::UI::Silent.new
239
+ @back_ui = Gem::DefaultUserInteraction.ui
240
@ui = Gem::MockGemUi.new
241
# This needs to be a new instance since we call use_ui(@ui) when we want to
242
# capture output
@@ -420,6 +421,8 @@ def teardown
420
421
Gem::Specification._clear_load_cache
422
Gem::Specification.unresolved_deps.clear
423
Gem::refresh
424
+
425
+ @back_ui.close
426
end
427
428
def common_installer_setup
0 commit comments