Skip to content

Commit 90a0af8

Browse files
committed
Silence Bundler UI in plugin installer specs
1 parent ba3fe74 commit 90a0af8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bundler/spec/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)