Phil Pirozhkov
Phil Pirozhkov
Fixed in https://github.com/rubocop/rubocop/pull/11265 There's https://github.com/rubocop/rubocop-rspec/pull/1522 to use it, but it broke after capybara extraction, needs some debugging. I'll close as completed.
Closing as a duplicate. It’s unclear what cop was triggered. If that was the number if lines - just needs to be adjusted.
Thank you, @ydah for triaging this! Fixed in #1358
@Darhazer Thanks for the review. Please have another look.
Thanks everyone involved 🎉
The implementation revealed some more considerations, and wr decided not to proceed with the fix.
This could definitely make a useful custom cop. The goal of this project is to enforce good common practices, including the ones from the community RSpec style guide. Personally, I...
@choosen We have [`RSpec/Focus` cop](https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecfocus) to handle the focus case.
You must be referring to the [`%w` guideline](https://rubystyle.guide/#percent-w): > Prefer %w to the literal array syntax when you need an array of words (**non-empty strings without spaces and special characters...