From 3b5b13c1728980b5c4ff87e434d181dfa6d34120 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Mon, 21 Oct 2024 16:47:51 -0700 Subject: [PATCH] Fewer slowest examples in RSpec, cuz these are fast and it's fine I want to not turn it off entirely, so that if there's a nasty one it becomes visible, but we don't need all that vertical space for this small test suite rn! --- spec/spec_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3fe5ca2a..e5dec724 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -59,10 +59,10 @@ RSpec.configure do |config| config.default_formatter = "doc" end - # Print the 10 slowest examples and example groups at the + # Print some of the slowest examples and example groups at the # end of the spec run, to help surface which specs are running # particularly slow. - config.profile_examples = 10 + config.profile_examples = 2 # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing