Update spec_helper.rb

This commit is contained in:
Marc Siegel 2022-04-23 16:38:27 -04:00 committed by GitHub
parent 75b66bec6a
commit bbfa8bd47b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ end
# On CI we publish coverage to codecov.io
# To use the codecov action, we need to generate XML based coverage report
if ENV["CI"] == "true"
if ENV.fetch("CI", nil) == "true"
begin
require "simplecov-cobertura"
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter