lib/rubocop/cop/rspec/named_subject.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/named_subject.rb in rubocop-rspec-1.43.0

- old
+ new

@@ -39,10 +39,10 @@ # RSpec.describe Foo do # subject(:user) { described_class.new } # # it { is_expected.to be_valid } # end - class NamedSubject < Cop + class NamedSubject < Base MSG = 'Name your test subject if you need '\ 'to reference it explicitly.' def_node_matcher :rspec_block?, <<-PATTERN {