lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt in gemsmith-3.1.0 vs lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt in gemsmith-3.2.0
- old
+ new
@@ -22,9 +22,10 @@
require "pry-stack_explorer"
end
<%- end -%>
RSpec.configure do |config|
+ config.expect_with(:rspec) { |expectation| expectation.syntax = :expect }
config.run_all_when_everything_filtered = true
config.filter_run focus: true
config.before(:all) { GC.disable }
config.after(:all) { GC.enable }