Update Capybara and FactoryBot rubocop namespaces

They changed in rubocop-rspec 2.0.0.pre.
This commit is contained in:
Javi Martín
2021-08-11 04:43:26 +02:00
parent 632a650161
commit 591b09d6ea

View File

@@ -17,21 +17,6 @@ Bundler/OrderedGems:
Enabled: true
ConsiderPunctuation: true
Capybara/CurrentPathExpectation:
Enabled: true
Capybara/FeatureMethods:
Enabled: true
EnabledMethods:
- scenario
- xscenario
Capybara/VisibilityMatcher:
Enabled: true
FactoryBot/FactoryClassName:
Enabled: true
Layout/AssignmentIndentation:
Enabled: true
@@ -343,6 +328,18 @@ RSpec/AroundBlock:
RSpec/BeforeAfterAll:
Enabled: true
RSpec/Capybara/CurrentPathExpectation:
Enabled: true
RSpec/Capybara/FeatureMethods:
Enabled: true
EnabledMethods:
- scenario
- xscenario
RSpec/Capybara/VisibilityMatcher:
Enabled: true
RSpec/ContextMethod:
Enabled: true
@@ -369,6 +366,9 @@ RSpec/EmptyLineAfterExampleGroup:
RSpec/ExampleWording:
Enabled: true
RSpec/FactoryBot/FactoryClassName:
Enabled: true
RSpec/FilePath:
Enabled: true