Enable new Rails/HttpStatus cop without issues

rubocop-rspec 1.23.0 release introduced the cop RSpec/Rails/HttpStatus
to enforce consistent usage of the status format (numeric or symbolic).
* https://github.com/rubocop-rspec/rubocop-rspec/pull/553
* https://github.com/rubocop-rspec/rubocop-rspec/releases/tag/v1.23.0
This commit is contained in:
Bertocq
2018-03-07 13:39:10 +01:00
parent 1d0bf77cca
commit d3d9573086

View File

@@ -370,6 +370,9 @@ RSpec/OverwritingSetup:
RSpec/PredicateMatcher: RSpec/PredicateMatcher:
Enabled: true Enabled: true
Rails/HttpStatus:
Enabled: true
RSpec/RepeatedDescription: RSpec/RepeatedDescription:
Enabled: true Enabled: true