From 650171918a22142ea9745a69e334be07677f058a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Mon, 20 Jan 2025 07:22:25 +0100 Subject: [PATCH] test: require logger (#345) --- acceptance/test_helper.rb | 1 + examples/snippets/config/environment.rb | 1 + test/test_helper.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/acceptance/test_helper.rb b/acceptance/test_helper.rb index de45dbbd..ff592549 100644 --- a/acceptance/test_helper.rb +++ b/acceptance/test_helper.rb @@ -5,6 +5,7 @@ # https://opensource.org/licenses/MIT. gem "minitest" +require "logger" # https://github.com/rails/rails/issues/54260 require "minitest/autorun" require "minitest/focus" require "minitest/rg" diff --git a/examples/snippets/config/environment.rb b/examples/snippets/config/environment.rb index 899d32c1..1e22156a 100644 --- a/examples/snippets/config/environment.rb +++ b/examples/snippets/config/environment.rb @@ -4,6 +4,7 @@ # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. +require "logger" # https://github.com/rails/rails/issues/54260 require "active_record" require "bundler" diff --git a/test/test_helper.rb b/test/test_helper.rb index 965b1106..26c1d9f4 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -4,6 +4,7 @@ # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. +require "logger" # https://github.com/rails/rails/issues/54260 require "minitest/autorun" require "minitest/focus" require "minitest/rg"