- Add a new base cop class
::RuboCop::Cop::RSpec::Base
. The old base class::RuboCop::Cop::RSpec::Cop
is deprecated, and will be removed in the next major release. (@bquorning) - Add support for subject detection after includes and example groups in
RSpec/LeadingSubject
. (@pirj) - Ignore trailing punctuation in context description prefix. (@elliterate)
- Relax
RSpec/VariableDefinition
cop so interpolated and multiline strings are accepted even when configured to enforce thesymbol
style. (@bquorning) - Fix
RSpec/EmptyExampleGroup
to flag example groups with examples in invalid scopes. (@mlarraz) - Fix
RSpec/EmptyExampleGroup
to ignore examples groups with examples defined inside iterators. (@pirj) - Improve
RSpec/NestedGroups
,RSpec/FilePath
,RSpec/DescribeMethod
,RSpec/MultipleDescribes
,RSpec/DescribeClass
's top-level example group detection. (@pirj) - Add detection of
let!
with a block-pass or a string literal toRSpec/LetSetup
. (@pirj) - Add
IgnoredPatterns
configuration option toRSpec/VariableName
. (@jtannas) - Add
RSpec/MultipleMemoizedHelpers
cop. (@mockdeep)