Suppress output from rubygems installs.

I still wish this wouldn't fetch or install... but in the meantime,
leave my dots alone.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2019-11-08 18:35:23 -08:00
parent f0533846fb
commit d4b3a5c149

View file

@ -413,7 +413,9 @@ class PluginInstallerUninstallTests < Minitest::Test
@installer.__reset_loader
skip_windows!
@installer.uninstall("inspec-test-fixture")
capture_subprocess_io do
@installer.uninstall("inspec-test-fixture")
end
# UnInstalling a gem physically removes the gemspec and the gem library code
spec_path = File.join(@installer.gem_path, "specifications", "inspec-test-fixture-0.1.0.gemspec")
@ -439,7 +441,9 @@ class PluginInstallerUninstallTests < Minitest::Test
@installer.__reset_loader
skip_windows!
@installer.uninstall("inspec-test-fixture")
capture_subprocess_io do
@installer.uninstall("inspec-test-fixture")
end
# UnInstalling a gem removes the gemspec and the gem library code
spec_path = File.join(@installer.gem_path, "specifications", "inspec-test-fixture-0.2.0.gemspec")