From 79571a32878068dae634fb3c0bb94bef10462bd6 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 20 Sep 2022 12:37:07 +0200 Subject: [PATCH] Allow build-in coverage report for RubyMine --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7e8640f2..68f0a80e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -17,7 +17,7 @@ # # See https://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration -unless RUBY_PLATFORM == 'java' +unless RUBY_PLATFORM == 'java' || ENV.fetch('RUBYMINE_SIMPLECOV_COVERAGE_PATH', nil) require 'simplecov' SimpleCov.start('rails') end