Method: RSpec::Core::Formatters::BaseTextFormatter#dump_summary

Defined in:
lib/rspec/core/formatters/base_text_formatter.rb

#dump_summary(summary) ⇒ void

This method is invoked after the dumping of examples and failures. Each parameter is assigned to a corresponding attribute.

Parameters:

  • summary (SummaryNotification)

    containing duration, example_count, failure_count and pending_count


42
43
44
# File 'lib/rspec/core/formatters/base_text_formatter.rb', line 42

def dump_summary(summary)
  output.puts summary.fully_formatted
end