diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-10-05 16:35:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 16:35:35 -0400 |
commit | c9e0a61db11b254d63169149fec5a263caa669db (patch) | |
tree | b683e291c3b05ff35c56fa3b7c627e0ff73f0b29 /railties/test/application/bin_setup_test.rb | |
parent | 251b9d4bd62bfc076969bd0751fa4cc6e95a4f33 (diff) | |
parent | b59634603862918b379e02b2594bc1bb8a5728df (diff) | |
download | rails-c9e0a61db11b254d63169149fec5a263caa669db.tar.gz rails-c9e0a61db11b254d63169149fec5a263caa669db.tar.bz2 rails-c9e0a61db11b254d63169149fec5a263caa669db.zip |
Merge pull request #34101 from gmcgibbon/fix_bundler_1_16_6_test_failures
Remove bundler warnings from bin/setup output
Diffstat (limited to 'railties/test/application/bin_setup_test.rb')
-rw-r--r-- | railties/test/application/bin_setup_test.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/railties/test/application/bin_setup_test.rb b/railties/test/application/bin_setup_test.rb index 54934dbe24..d02100d94c 100644 --- a/railties/test/application/bin_setup_test.rb +++ b/railties/test/application/bin_setup_test.rb @@ -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 |