lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-5.2.0 vs lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb in rubysmith-5.3.0
- old
+ new
@@ -1,8 +1,5 @@
-require "bundler/setup"
-Bundler.require :tools
-
<% if configuration.build_simple_cov %>
require "simplecov"
unless ENV["NO_COVERAGE"]
SimpleCov.start do
@@ -11,9 +8,11 @@
enable_coverage_for_eval
minimum_coverage_by_file line: 95, branch: 95
end
end
<% end %>
+
+Bundler.require :tools
require "<%= configuration.project_path %>"
<% if configuration.build_refinements %>
require "refinements"
<% end %>