diff options
author | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2018-10-05 13:41:59 -0400 |
---|---|---|
committer | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2018-10-05 15:37:00 -0400 |
commit | b59634603862918b379e02b2594bc1bb8a5728df (patch) | |
tree | 8c1a381a931d31ac3b4c3936a8b380b49d466c67 | |
parent | 0b6d2189c8d5c5d700877724b66242ce541d511d (diff) | |
download | rails-b59634603862918b379e02b2594bc1bb8a5728df.tar.gz rails-b59634603862918b379e02b2594bc1bb8a5728df.tar.bz2 rails-b59634603862918b379e02b2594bc1bb8a5728df.zip |
Remove bundler warnings from bin/setup output
-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 |