mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #34101 from gmcgibbon/fix_bundler_1_16_6_test_failures
Remove bundler warnings from bin/setup output
This commit is contained in:
commit
c9e0a61db1
1 changed files with 10 additions and 8 deletions
|
@ -43,18 +43,20 @@ 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)
|
||||
== Installing dependencies ==
|
||||
The Gemfile's dependencies are satisfied
|
||||
assert_equal(<<~OUTPUT, output)
|
||||
== Installing dependencies ==
|
||||
The Gemfile's dependencies are satisfied
|
||||
|
||||
== Preparing database ==
|
||||
Created database 'db/development.sqlite3'
|
||||
Created database 'db/test.sqlite3'
|
||||
== Preparing database ==
|
||||
Created database 'db/development.sqlite3'
|
||||
Created database 'db/test.sqlite3'
|
||||
|
||||
== Removing old logs and tempfiles ==
|
||||
== Removing old logs and tempfiles ==
|
||||
|
||||
== Restarting application server ==
|
||||
== Restarting application server ==
|
||||
OUTPUT
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue