From 0af05b6e98dd8f0b494604bd63c668c5e00e5185 Mon Sep 17 00:00:00 2001 From: Bryan Terce Date: Mon, 24 Aug 2020 21:36:27 -0700 Subject: [PATCH] Ignore deprecation warnings in tests --- config/environments/test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/environments/test.rb b/config/environments/test.rb index 0cb2424..8969127 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -3,6 +3,10 @@ # your test database is "scratch space" for the test suite and is wiped # and recreated between test runs. Don't rely on the data there! +# Tell Ruby to shut up about deprecation warnings during tests +# https://fuzzyblog.io/blog/rails/2020/01/28/turning-off-ruby-deprecation-warnings-when-running-tests.html +$VERBOSE = nil + Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb.