spec/spec_helper.rb in rubocop-rspec-1.24.0 vs spec/spec_helper.rb in rubocop-rspec-1.25.0
- old
+ new
@@ -1,9 +1,9 @@
require 'rubocop'
require 'rubocop/rspec/support'
-if ENV['CI']
+if ENV['COVERAGE'] == 'true'
require 'simplecov'
SimpleCov.start
end
module SpecHelper