Skip to content

Commit 706d808

Browse files
hsbtmatzbot
authored andcommitted
[ruby/rubygems] Silence Bundler UI in plugin installer specs
ruby/rubygems@90a0af8204
1 parent 8c39099 commit 706d808

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/bundler/bundler/plugin/installer_spec.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@
4747
build_plugin "re-plugin"
4848
build_plugin "ma-plugin"
4949
end
50+
51+
@previous_ui = Bundler.ui
52+
Bundler.ui = Bundler::UI::Silent.new
53+
end
54+
55+
after do
56+
Bundler.ui = @previous_ui
5057
end
5158

5259
context "git plugins" do

0 commit comments

Comments
 (0)