lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt in gemsmith-4.0.0 vs lib/gemsmith/templates/%gem_name%/spec/spec_helper.rb.tt in gemsmith-4.1.0
- old
+ new
@@ -27,8 +27,12 @@
config.expect_with(:rspec) { |expectation| expectation.syntax = :expect }
config.run_all_when_everything_filtered = true
config.filter_run focus: true
config.order = "random"
+ config.mock_with :rspec do |mocks|
+ mocks.verify_partial_doubles = true
+ end
+
config.before(:all) { GC.disable }
config.after(:all) { GC.enable }
end