From 591b09d6ea391c5153293d89b25d24926f8776e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 11 Aug 2021 04:43:26 +0200 Subject: [PATCH] Update Capybara and FactoryBot rubocop namespaces They changed in rubocop-rspec 2.0.0.pre. --- .rubocop.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index aa678fbe8..9f3e80d8f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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