Skip to content

Commit

Permalink
Suppress bundle install output in test (#2940)
Browse files Browse the repository at this point in the history
### Motivation

Forgot to suppress the bundle install output in the new configuration test, otherwise it keeps printing in the middle of running tests.
  • Loading branch information
vinistock authored Nov 29, 2024
2 parents 0d421a6 + ef3665a commit 1f73215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ruby_indexer/test/configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ def test_transitive_dependencies_for_non_dev_gems_are_not_excluded
RUBY

Bundler.with_unbundled_env do
system("bundle install")
capture_subprocess_io do
system("bundle install")
end

stdout, _stderr = capture_subprocess_io do
script = [
Expand Down

0 comments on commit 1f73215

Please sign in to comment.