module RuboCop::Cop::RSpec::AggregateExamples::NodeMatchers
def contains_heredoc?(node)
Searches for HEREDOC in examples. It can be tricky to aggregate,
def contains_heredoc?(node) node.each_descendant(:str, :xstr, :dstr).any?(&:heredoc?) end
def example_method?(method_name)
def example_method?(method_name) %i[it specify example scenario].include?(method_name) end