Skip to content

Warnings about rule namespaces for Capybara and FactoryBot #211

Open
@geoffswift

Description

@geoffswift

I am seeing some warnings about the namespace for a few rules:

usr/local/rvm/gems/ruby-3.1.4/gems/rubocop-airbnb-7.0.0/config/rubocop-rspec.yml: RSpec/Capybara/CurrentPathExpectation has the wrong namespace - replace it with Capybara/CurrentPathExpectation
/usr/local/rvm/gems/ruby-3.1.4/gems/rubocop-airbnb-7.0.0/config/rubocop-rspec.yml: RSpec/FactoryBot/AttributeDefinedStatically has the wrong namespace - replace it with FactoryBot/AttributeDefinedStatically
/usr/local/rvm/gems/ruby-3.1.4/gems/rubocop-airbnb-7.0.0/config/rubocop-rspec.yml: RSpec/FactoryBot/CreateList has the wrong namespace - replace it with FactoryBot/CreateList

My Gemfile.lock tells me I have these versions installed:

rubocop-capybara (2.21.0)
rubocop-factory_bot (2.26.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions