Skip to content

Commit e904ef5

Browse files
committed
Disable Minitest::Reporters for RubyMine
1 parent 32f2e87 commit e904ef5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spec/spec_helper.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
require "minitest/focus"
1717
require "minitest/reporters"
1818

19-
Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
19+
running_in_rubymine = ENV["RM_INFO"]
20+
unless running_in_rubymine
21+
Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
22+
end
2023

2124
Minitest::Spec.make_my_diffs_pretty!
2225

0 commit comments

Comments
 (0)