Allow build-in coverage report for RubyMine

This commit is contained in:
Sebastian Serth
2022-09-20 12:37:07 +02:00
committed by Sebastian Serth
parent fb415dd919
commit 79571a3287

View File

@ -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