This a major release, so please consider all changes “potentially breaking”. Read more about upgrading in our Upgrade to Version 2.x document.
- Remove deprecated class
::RuboCop::Cop::RSpec::Cop
. (@bquorning) - Retire
RSpec/InvalidPredicateMatcher
cop. (@pirj) - Remove the code responsible for filtering files to inspect. (@pirj)
- Make RSpec language elements configurable. (@sl4vr)
- Remove
CustomIncludeMethods
RSpec/EmptyExampleGroup
option in favour of the new RSpec DSL configuration. (@pirj) - Enabled pending cop (
RSpec/StubbedMock
). (@pirj)
See also https://github.com/rubocop-hq/rubocop-rspec/releases/v2.0.0.pre