global
def totals_line
-
(String)
- A line summarising the result totals of the spec run.
Other tags:
- Api: -
def totals_line summary = Formatters::Helpers.pluralize(example_count, "example") summary << ", " << Formatters::Helpers.pluralize(failure_count, "failure") summary << ", #{pending_count} pending" if pending_count > 0 summary end