class RSpec::Expectations::FailureAggregator

def notify_aggregated_failures

def notify_aggregated_failures
  all_errors = failures + other_errors
  case all_errors.size
  when 0 then return true
  when 1 then RSpec::Support.notify_failure all_errors.first
  else RSpec::Support.notify_failure MultipleExpectationsNotMetError.new(self)
  end
end