lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-3.4.0 vs lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-3.5.0

- old
+ new

@@ -1,10 +1,15 @@ require "bundler/setup" Bundler.require :tools <% if configuration.build_simple_cov %> require "simplecov" - SimpleCov.start { enable_coverage :branch } + + SimpleCov.start do + enable_coverage :branch + add_filter %r(^/spec/) + minimum_coverage_by_file line: 95, branch: 95 + end <% end %> require "<%= configuration.project_path %>" <% if configuration.build_refinements %> require "refinements"