- Fix
RSpec/FilePath
cop missing mismatched expanded namespace. (@sl4vr) - Add new
AllowConsecutiveOneLiners
(default true) option forRspec/EmptyLineAfterHook
cop. (@ngouy) - Add autocorrect support for
RSpec/EmptyExampleGroup
. (@r7kamura) - Fix
RSpec/ChangeByZero
with compound expressions using&
or|
operators. (@BrianHawley) - Add
RSpec/NoExpectationExample
. (@r7kamura) - Add some expectation methods to default configuration. (@r7kamura)
- Fix a false positive for
RSpec/Capybara/SpecificMatcher
. (@ydah) - Fix a false negative for
RSpec/Capybara/SpecificMatcher
forhave_field
. (@ydah) - Fix a false positive for
RSpec/Capybara/SpecificMatcher
when may not have ahref
byhave_link
. (@ydah) - Add
NegatedMatcher
configuration option toRSpec/ChangeByZero
. (@ydah) - Add new
RSpec/Capybara/SpecificFinders
cop. (@ydah) - Add support for numblocks to
RSpec/AroundBlock
,RSpec/EmptyLineAfterHook
,RSpec/ExpectInHook
,RSpec/HookArgument
,RSpec/HooksBeforeExamples
,RSpec/IteratedExpectation
, andRSpec/NoExpectationExample
. (@ydah) - Fix incorrect documentation URLs when using
rubocop --show-docs-url
. (@r7kamura) - Add
AllowedGroups
configuration option toRSpec/NestedGroups
. (@ydah) - Deprecate
IgnoredPatterns
option in favor of theAllowedPatterns
options. (@ydah) - Add
AllowedPatterns
configuration option toRSpec/ContextWording
. (@ydah) - Add
RSpec/ClassCheck
cop. (@r7kamura) - Fix a false positive for
RSpec/Capybara/SpecificMatcher
when pseudo-classes. (@ydah) - Fix a false negative for
RSpec/SubjectStub
when the subject is declared with thesubject!
method and called by name. (@eikes) - Support
Array.new(n)
onRSpec/FactoryBot/CreateList
cop. (@r7kamura)