Skip to content

Commit

Permalink
Change SafeAutoCorrect of RSpec/Rails/HaveHttpStatus to false
Browse files Browse the repository at this point in the history
  • Loading branch information
akiomik committed Jul 1, 2022
1 parent f73da61 commit b282d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ RSpec/Rails/AvoidSetupHook:
RSpec/Rails/HaveHttpStatus:
Description: Checks that tests use `have_http_status` instead of equality matchers.
Enabled: pending
SafeAutoCorrect: false
VersionAdded: '<<next>>'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HaveHttpStatus

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_rspec_rails.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ end

| Pending
| Yes
| Yes
| Yes (Unsafe)
| 2.13
| -
|===
Expand Down

0 comments on commit b282d44

Please sign in to comment.