rubocop-rspec
rubocop-rspec copied to clipboard
Detect iterations over range in FactoryBot/CreateList
When I initially implemented the cop, I left the case when someone uses (1..n).each {} and added check only for .times iteration. I feel now it's the time to improve on that