From 013f3282e440842cab390a37127991f0f1c9f497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 3 Oct 2023 20:30:52 +0200 Subject: [PATCH] Use the RSpec/FilePath rule replacements RSpec/FilePath is deprecated since rubocop-rspec 2.24.0 and will be removed in rubocop-rspec 3.0 in favor of RSpec/SpecFilePathFormat and RSpec/SpecFilePathSuffix. --- .rubocop.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ac0daad61..a7714c1e7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -547,9 +547,6 @@ RSpec/ExampleWording: RSpec/ExcessiveDocstringSpacing: Enabled: true -RSpec/FilePath: - Enabled: true - RSpec/Focus: Enabled: true @@ -603,6 +600,12 @@ RSpec/ScatteredLet: RSpec/ScatteredSetup: Enabled: true +RSpec/SpecFilePathFormat: + Enabled: true + +RSpec/SpecFilePathSuffix: + Enabled: true + RSpec/VoidExpect: Enabled: true