class RuboCop::Cop::RSpec::ScatteredSetup

def message(occurrences, occurrence)

def message(occurrences, occurrence)
  lines = occurrences.map(&:first_line)
  lines_except_current = lines - [occurrence.first_line]
  format(MSG, hook_name: occurrences.first.method_name,
              lines: lines_msg(lines_except_current))
end