You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple expect could be a good practice in some cases for many reason. The MultipleExpectations cop is disable. There should be an option to autocorrect the offense by adding aggregate_failures: true.
Bhacaz
changed the title
MultipleExpectations config aggregate_failures: true
MultipleExpectations could autocorrect with aggregate_failures: trueAug 22, 2023
Multiple expect could be a good practice in some cases for many reason. The MultipleExpectations cop is disable. There should be an option to autocorrect the offense by adding
aggregate_failures: true
.With that autocorrect, the cop should be Enable.
https://rspec.rubystyle.guide/#expectation-per-example
https://www.betterspecs.org/#single
https://github.com/petalmd/rubocop-petal/blob/main/config/base.yml#L68
The text was updated successfully, but these errors were encountered: