- Add new
RSpec/IndexedLet
cop. (@dmitrytsepelev) - Add new
RSpec/BeEmpty
cop. (@ydah, @bquorning) - Add autocorrect support for
RSpec/ScatteredSetup
. (@ydah) - Add support
be_status
style forRSpec/Rails/HttpStatus
. (@ydah) - Add support for shared example groups to
RSpec/EmptyLineAfterExampleGroup
. (@pirj) - Add support for
RSpec/HaveHttpStatus
when usingresponse.code
. (@ydah) - Fix order of expected and actual in correction for
RSpec/Rails/MinitestAssertions
(@mvz) - Fix a false positive for
RSpec/DescribedClassModuleWrapping
when RSpec.describe numblock is nested within a module. (@ydah) - Fix a false positive for
RSpec/FactoryBot/ConsistentParenthesesStyle
inside&&
,||
and:?
whenomit_parentheses
is on (@dmitrytsepelev) - Fix a false positive for
RSpec/PendingWithoutReason
when pending/skip has a reason inside an example group. (@ydah) - Fix a false negative for
RSpec/RedundantAround
when redundant numblockaround
. (@ydah) - Change
RSpec/ContainExactly
to ignore calls with no arguments, and changeRSpec/MatchArray
to ignore calls with an empty array literal argument. (@ydah, @bquorning) - Make
RSpec/MatchArray
andRSpec/ContainExactly
pending. (@ydah)