- Add new cop
RSpec/MatchWithSimpleRegexto suggestincludematcher whenmatchis used with simple string literals without regex-specific features. (@bquorning) - Add new cop
RSpec/DiscardedMatcherto detect matchers in void context (e.g. missing.andbetween compound matchers). (@ydakuka) - Add support for
itblocknodes. (@Darhazer) RSpec/ScatteredLetnow preserves the order oflets during auto-correction. (@Darhazer)- Fix a false negative for
RSpec/EmptyLineAfterFinalLetinsideshared_examples/include_examples/it_behaves_likeblocks. (@Darhazer) - Fix a false positive for
RSpec/ContainExactlywhencontain_exactlyhas multiple splat arguments. (@ydah) - Add autocorrect support for
RSpec/SubjectDeclaration. (@eugeneius) - Fix false negatives for
RSpec/SpecFilePathFormatwhen the expected class path only partially matches a path segment. (@ydah) - Fix a false negative for
RSpec/ExpectActualwhen the matcher takes no arguments (e.g.expect("foo").to be_present,expect(1).to be). (@cvx)