From d3d9573086ce48a1e85f0415ef1dd7a1fa85c302 Mon Sep 17 00:00:00 2001 From: Bertocq Date: Wed, 7 Mar 2018 13:39:10 +0100 Subject: [PATCH] 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 --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 8b7233714..34c798d5f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -370,6 +370,9 @@ RSpec/OverwritingSetup: RSpec/PredicateMatcher: Enabled: true +Rails/HttpStatus: + Enabled: true + RSpec/RepeatedDescription: Enabled: true