lib/rubocop/cop/rspec/named_subject.rb in rubocop-rspec-1.12.0 vs lib/rubocop/cop/rspec/named_subject.rb in rubocop-rspec-1.13.0

- old
+ new

@@ -36,11 +36,11 @@ # subject(:user) { described_class.new } # # it { should be_valid } # end class NamedSubject < Cop - MSG = 'Name your test subject if '\ - 'you need to reference it explicitly.'.freeze + MSG = 'Name your test subject if you need '\ + 'to reference it explicitly.'.freeze def_node_matcher :rspec_block?, <<-PATTERN (block (send nil {:it :specify :before :after :around} ...) ...)