Remove bundler warnings from bin/setup output
This commit is contained in:
parent
0b6d2189c8
commit
b596346038
@ -43,18 +43,20 @@ def test_bin_setup_output
|
||||
|
||||
# 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 New Issue
Block a user