lib/rubocop/cop/rspec/overwriting_setup.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/overwriting_setup.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -19,10 +19,10 @@
# # good
# subject(:test) { something }
# let(:foo) { bar }
# let(:baz) { baz }
# let!(:other) { other }
- class OverwritingSetup < Cop
+ class OverwritingSetup < Base
MSG = '`%<name>s` is already defined.'
def_node_matcher :setup?, (Helpers::ALL + Subject::ALL).block_pattern
def_node_matcher :first_argument_name, '(send _ _ ({str sym} $_))'