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

Warnings about rule namespaces for Capybara and FactoryBot #211

Open
geoffswift opened this issue Jan 6, 2025 · 1 comment
Open

Warnings about rule namespaces for Capybara and FactoryBot #211

geoffswift opened this issue Jan 6, 2025 · 1 comment

Comments

@geoffswift
Copy link

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)

@geoffswift
Copy link
Author

I just noticed this is being addressed in #208 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant