summaryrefslogtreecommitdiff
path: root/spec/simplecov_env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/simplecov_env.rb')
-rw-r--r--spec/simplecov_env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/simplecov_env.rb b/spec/simplecov_env.rb
index da4a0e8da80..dbaecc6a233 100644
--- a/spec/simplecov_env.rb
+++ b/spec/simplecov_env.rb
@@ -9,7 +9,7 @@ module SimpleCovEnv
extend self
def start!
- return unless ENV['SIMPLECOV']
+ return if !ENV.key?('SIMPLECOV') || ENV['SIMPLECOV'] == '0'
configure_profile
configure_job