Skip to content

Detect iterations over range in FactoryBot/CreateList #13

@Darhazer

Description

@Darhazer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions