Skip to content

Commit

Permalink
Enable new Rails/HttpStatus cop without issues
Browse files Browse the repository at this point in the history
rubocop-rspec 1.23.0 release introduced the cop RSpec/Rails/HttpStatus
to enforce consistent usage of the status format (numeric or symbolic).
* rubocop/rubocop-rspec#553
* https://github.com/rubocop-rspec/rubocop-rspec/releases/tag/v1.23.0
  • Loading branch information
bertocq committed Apr 4, 2018
1 parent d239667 commit de0c35a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ RSpec/OverwritingSetup:
RSpec/PredicateMatcher:
Enabled: true

Rails/HttpStatus:
Enabled: true

RSpec/RepeatedDescription:
Enabled: true

Expand Down

0 comments on commit de0c35a

Please sign in to comment.