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

Better assist rspec rails cop users when migrating to 3 #1931

Merged
merged 1 commit into from
Jul 2, 2024

Commits on Jul 2, 2024

  1. Better assist rspec rails cop users when migrating to 3

    Previously you would first get:
    ```
    Error: The `RSpec/Rails/InferredSpecType` cop has been moved to `RSpecRails/InferredSpecType`.
    (obsolete configuration found in .rubocop.yml, please update it)
    ```
    
    Then after renaming the cop, you would get:
    ```
    Error: unrecognized cop or department RSpecRails/InferredSpecType found in .rubocop.yml
    Did you mean `RSpec/RepeatedDescription`?
    ```
    
    Which would be a dead end.
    jeppester committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    4c2e03e View commit details
    Browse the repository at this point in the history