- Remove extracted cops in
Capybara
,FactoryBot
andRails
departments. (@ydah) - Remove
RuboCop::RSpec::Language::NodePattern
. (@ydah) - Remove
RSpec/FilePath
cop. (@ydah) - Remove
RSpec/Capybara/FeatureMethods
cop. If you are using this cop, change it to useRSpec/Dialect
. (@ydah) - Add new
RSpec/MissingExpectationTargetMethod
cop. (@krororo) - Fix an error for
RSpec/ScatteredSetup
when one of the hooks is an empty block. (@earlopain)
These previously pending cops are now enabled by default: RSpec/BeEmpty
, RSpec/BeEq
, RSpec/BeNil
, RSpec/ChangeByZero
, RSpec/ClassCheck
, RSpec/ContainExactly
, RSpec/DuplicatedMetadata
, RSpec/EmptyMetadata
, RSpec/EmptyOutput
, RSpec/Eq
, RSpec/ExcessiveDocstringSpacing
, RSpec/ExpectInLet
, RSpec/IdenticalEqualityAssertion
, RSpec/IndexedLet
, RSpec/IsExpectedSpecify
, RSpec/MatchArray
, RSpec/MetadataStyle
, RSpec/NoExpectationExample
, RSpec/PendingWithoutReason
, RSpec/ReceiveMessages
, RSpec/RedundantAround
, RSpec/RedundantPredicateMatcher
, RSpec/RemoveConst
, RSpec/RepeatedSubjectCall
, RSpec/SkipBlockInsideExample
, RSpec/SortMetadata
, RSpec/SpecFilePathFormat
, RSpec/SpecFilePathSuffix
, RSpec/SubjectDeclaration
, RSpec/UndescriptiveLiteralsDescription
, and RSpec/VerifiedDoubleReference
.
Read more about how to upgrade in https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html