lib/rubocop/cop/rspec/implicit_subject.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/implicit_subject.rb in rubocop-rspec-2.26.0

- old
+ new

@@ -76,15 +76,15 @@ should should_not ].freeze # @!method explicit_unnamed_subject?(node) - def_node_matcher :explicit_unnamed_subject?, <<-PATTERN + def_node_matcher :explicit_unnamed_subject?, <<~PATTERN (send nil? :expect (send nil? :subject)) PATTERN # @!method implicit_subject?(node) - def_node_matcher :implicit_subject?, <<-PATTERN + def_node_matcher :implicit_subject?, <<~PATTERN (send nil? {:should :should_not :is_expected} ...) PATTERN def on_send(node) return unless invalid?(node)