Skip to content

Commit b282d44

Browse files
committed
Change SafeAutoCorrect of RSpec/Rails/HaveHttpStatus to false
1 parent f73da61 commit b282d44

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
@@ -912,6 +912,7 @@ RSpec/Rails/AvoidSetupHook:
912912
RSpec/Rails/HaveHttpStatus:
913913
Description: Checks that tests use `have_http_status` instead of equality matchers.
914914
Enabled: pending
915+
SafeAutoCorrect: false
915916
VersionAdded: '<<next>>'
916917
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HaveHttpStatus
917918

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)