airbnb / airbnb/ruby

Warnings about rule namespaces for Capybara and FactoryBot

Open
#211 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
3.9k
Forks
756
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.