lib/rubocop/cop/rspec/multiple_subjects.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/multiple_subjects.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -31,10 +31,10 @@
# be dead code and we remove the overwritten subject definitions.
#
# - If subjects are defined with `subject!` then we don't autocorrect.
# This is enough of an edge case that people can just move this to
# a `before` hook on their own
- class MultipleSubjects < Cop
+ class MultipleSubjects < Base
extend AutoCorrector
include RangeHelp
MSG = 'Do not set more than one subject per example group'