class RSpec::Core::Notifications::SummaryNotification

def summary_line

Returns:
  • (String) - A line summarising the results of the spec run.

Other tags:
    Api: -
def summary_line
  summary = pluralize(example_count, "example")
  summary << ", " << pluralize(failure_count, "failure")
  summary << ", #{pending_count} pending" if pending_count > 0
  summary
end