Add and apply RSpec/Rails/NegationBeValid rule

This rule was added in rubocop-rspec 2.23.0. We were already applying it
most of the time.
This commit is contained in:
Javi Martín
2023-09-08 13:15:32 +02:00
parent fc0511f4d3
commit 9bb2bfdd06
6 changed files with 19 additions and 16 deletions

View File

@@ -561,6 +561,9 @@ RSpec/Rails/HaveHttpStatus:
RSpec/Rails/InferredSpecType:
Enabled: true
RSpec/Rails/NegationBeValid:
Enabled: true
RSpec/Rails/TravelAround:
Enabled: true