templates/spec_helper.rb in bankai-0.2.2 vs templates/spec_helper.rb in bankai-0.2.3
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-if ENV.fetch('COVERAGE', false)
+if ENV.fetch('COVERAGE', false) || ENV.fetch('CI', false)
require 'simplecov'
SimpleCov.start 'rails' do
add_filter 'vendor'
end
end