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