Draft: RuboCop: Add RSpec/SpecifyExpected
What does this MR do and why?
This MR adds a RSpec/SpecifyExpected
as per https://rspec.rubystyle.guide/#it-and-specify.
# bad
specify { is_expected.to be_nil }
# good
it { is_expected.to be_nil }
Inspired by !132069 (comment 1589555040).
Draft?
-
Add specs -
Add code docs with examples
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Leitzen