aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-11-13 09:43:32 -0500
committerGitHub <noreply@github.com>2018-11-13 09:43:32 -0500
commit9175dd2e2b917d17434bf127381d8f69106aa071 (patch)
treec575fd728f9fc418c32fbd0aa0ce6af8eb98f01e
parent82f2e9741fb075f209d6018de2777c0aab3a829c (diff)
parent8ac839625976be543be758d41767120d714bf30c (diff)
downloadrails-9175dd2e2b917d17434bf127381d8f69106aa071.tar.gz
rails-9175dd2e2b917d17434bf127381d8f69106aa071.tar.bz2
rails-9175dd2e2b917d17434bf127381d8f69106aa071.zip
Merge pull request #34434 from yahonda/ignore_warnings
Ignore warnings such as `Psych.safe_load is deprecated`
-rw-r--r--railties/test/application/bin_setup_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/application/bin_setup_test.rb b/railties/test/application/bin_setup_test.rb
index d02100d94c..a952d2466b 100644
--- a/railties/test/application/bin_setup_test.rb
+++ b/railties/test/application/bin_setup_test.rb
@@ -45,6 +45,8 @@ module ApplicationTests
output.sub!(/^Resolving dependencies\.\.\.\n/, "")
# Suppress Bundler platform warnings from output
output.gsub!(/^The dependency .* will be unused .*\.\n/, "")
+ # Ignore warnings such as `Psych.safe_load is deprecated`
+ output.gsub!(/^warning:\s.*\n/, "")
assert_equal(<<~OUTPUT, output)
== Installing dependencies ==