Skip to content

RuboCop fails on newer Ruby versions - due to changes in RuboCop #185

Description

@olleolleolle

On Ruby 3.2, this was the result:

Run bundle exec rubocop --parallel --extra-details --display-style-guide
Error: The `RSpec/FactoryBot/ConsistentParenthesesStyle` cop has been moved to `FactoryBot/ConsistentParenthesesStyle`.
(obsolete configuration found in vendor/bundle/ruby/3.2.0/gems/gc_ruboconfig-3.6.2/rubocop.yml, please update it)
The `RSpec/FactoryBot/SyntaxMethods` cop has been moved to `FactoryBot/SyntaxMethods`.
(obsolete configuration found in vendor/bundle/ruby/3.2.0/gems/gc_ruboconfig-3.6.2/rubocop.yml, please update it)

On 2.6, all passed.

We probably wish to run it on the oldest-supported version, only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions