From 804f4e6050bcf4cd413b288861eccf302c53155b Mon Sep 17 00:00:00 2001 From: Alexander Momchilov Date: Mon, 17 Jun 2024 09:27:10 -0400 Subject: [PATCH] Don't use `Minitest::Reporters` for RubyMine --- spec/spec_helper.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index d781ce4c0..6803214bd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -21,7 +21,9 @@ backtrace_filter.add_filter(%r{gems/railties}) backtrace_filter.add_filter(%r{tapioca/helpers/test/}) -Minitest::Reporters.use!(SpecReporter.new(color: true), ENV, backtrace_filter) +unless ENV["RM_INFO"] + Minitest::Reporters.use!(SpecReporter.new(color: true), ENV, backtrace_filter) +end module Minitest class Test