Allow build-in coverage report for RubyMine
This commit is contained in:

committed by
Sebastian Serth

parent
fb415dd919
commit
79571a3287
@ -17,7 +17,7 @@
|
|||||||
#
|
#
|
||||||
# See https://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
# 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'
|
require 'simplecov'
|
||||||
SimpleCov.start('rails')
|
SimpleCov.start('rails')
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user