diff --git a/test/test_helper.rb b/test/test_helper.rb index 7c1c8792..9e743f96 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -53,6 +53,17 @@ class ActiveSupport::TestCase end end + def run(...) + # Rails 8.1.dev changed default logging levels + if defined?(with_debug_event_reporting) + with_debug_event_reporting do + super + end + else + super + end + end + private def wait_while_with_timeout(timeout, &block) wait_while_with_timeout!(timeout, &block)