Skip to content

Commit 9608f3c

Browse files
committed
Change SafeAutoCorrect of RSpec/Rails/HaveHttpStatus to false
1 parent cf65006 commit 9608f3c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,7 @@ RSpec/Rails/AvoidSetupHook:
910910
RSpec/Rails/HaveHttpStatus:
911911
Description: Checks that tests use `have_http_status` instead of equality matchers.
912912
Enabled: pending
913+
SafeAutoCorrect: false
913914
VersionAdded: '<<next>>'
914915
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HaveHttpStatus
915916

docs/modules/ROOT/pages/cops_rspec_rails.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ end
4040

4141
| Pending
4242
| Yes
43-
| Yes
43+
| Yes (Unsafe)
4444
| 2.13
4545
| -
4646
|===

0 commit comments

Comments
 (0)