gems rubocop-rspec 3.10.0
RuboCop RSpec v3.10.0

4 hours ago
  • Add new cop RSpec/MatchWithSimpleRegex to suggest include matcher when match is used with simple string literals without regex-specific features. (@bquorning)
  • Add new cop RSpec/DiscardedMatcher to detect matchers in void context (e.g. missing .and between compound matchers). (@ydakuka)
  • Add support for itblock nodes. (@Darhazer)
  • RSpec/ScatteredLet now preserves the order of lets during auto-correction. (@Darhazer)
  • Fix a false negative for RSpec/EmptyLineAfterFinalLet inside shared_examples / include_examples / it_behaves_like blocks. (@Darhazer)
  • Fix a false positive for RSpec/ContainExactly when contain_exactly has multiple splat arguments. (@ydah)
  • Add autocorrect support for RSpec/SubjectDeclaration. (@eugeneius)
  • Fix false negatives for RSpec/SpecFilePathFormat when the expected class path only partially matches a path segment. (@ydah)
  • Fix a false negative for RSpec/ExpectActual when the matcher takes no arguments (e.g. expect("foo").to be_present, expect(1).to be). (@cvx)

Don't miss a new rubocop-rspec release

NewReleases is sending notifications on new releases.