lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-4.0.1 vs lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-4.1.0
- old
+ new
@@ -4,11 +4,12 @@
<% if configuration.build_simple_cov %>
require "simplecov"
unless ENV["NO_COVERAGE"]
SimpleCov.start do
- enable_coverage :branch
add_filter %r(^/spec/)
+ enable_coverage :branch
+ enable_coverage_for_eval
minimum_coverage_by_file line: 95, branch: 95
end
end
<% end %>