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.
This commit is contained in:
Javi Martín
2023-10-03 20:30:52 +02:00
parent b44247b4e5
commit 013f3282e4

View File

@@ -547,9 +547,6 @@ RSpec/ExampleWording:
RSpec/ExcessiveDocstringSpacing: RSpec/ExcessiveDocstringSpacing:
Enabled: true Enabled: true
RSpec/FilePath:
Enabled: true
RSpec/Focus: RSpec/Focus:
Enabled: true Enabled: true
@@ -603,6 +600,12 @@ RSpec/ScatteredLet:
RSpec/ScatteredSetup: RSpec/ScatteredSetup:
Enabled: true Enabled: true
RSpec/SpecFilePathFormat:
Enabled: true
RSpec/SpecFilePathSuffix:
Enabled: true
RSpec/VoidExpect: RSpec/VoidExpect:
Enabled: true Enabled: true