lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-6.10.0 vs lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-7.0.0

- old
+ new

@@ -1,6 +1,6 @@ -<% if configuration.build_simple_cov %> +<% if settings.build_simple_cov %> require "simplecov" unless ENV["NO_COVERAGE"] SimpleCov.start do add_filter %r(^/spec/) @@ -11,15 +11,15 @@ end <% end %> Bundler.require :tools -require "<%= configuration.project_path %>" -<% if configuration.build_refinements %> +require "<%= settings.project_path %>" +<% if settings.build_refinements %> require "refinements" <% end %> -<% if configuration.build_refinements %> +<% if settings.build_refinements %> SPEC_ROOT = Pathname(__dir__).realpath.freeze using Refinements::Pathname Pathname.require_tree SPEC_ROOT.join("support/shared_contexts")