Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect iterations over range in FactoryBot/CreateList #13

Open
Darhazer opened this issue Oct 23, 2020 · 0 comments
Open

Detect iterations over range in FactoryBot/CreateList #13

Darhazer opened this issue Oct 23, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Darhazer
Copy link
Member

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

@Darhazer Darhazer added the enhancement New feature or request label Oct 23, 2020
@ydah ydah transferred this issue from rubocop/rubocop-rspec May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant