diff --git a/hearth/spec/spec_helper.rb b/hearth/spec/spec_helper.rb index dc8143a3a..2e4065dc0 100644 --- a/hearth/spec/spec_helper.rb +++ b/hearth/spec/spec_helper.rb @@ -2,8 +2,8 @@ require 'simplecov' -if !ENV['NO_COVERAGE'] && !defined?(JRUBY_VERSION) - SimpleCov.minimum_coverage 100 +unless ENV['NO_COVERAGE'] + SimpleCov.minimum_coverage 100 unless defined?(JRUBY_VERSION) SimpleCov.start do add_filter %r{/spec/} end