1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove bundler warnings from bin/setup output

This commit is contained in:
Gannon McGibbon 2018-10-05 13:41:59 -04:00
parent 0b6d2189c8
commit b596346038

View file

@ -43,8 +43,10 @@ module ApplicationTests
# Ignore line that's only output by Bundler < 1.14
output.sub!(/^Resolving dependencies\.\.\.\n/, "")
# Suppress Bundler platform warnings from output
output.gsub!(/^The dependency .* will be unused .*\.\n/, "")
assert_equal(<<-OUTPUT, output)
assert_equal(<<~OUTPUT, output)
== Installing dependencies ==
The Gemfile's dependencies are satisfied