Method: RSpec::Core::Notifications::SummaryNotification#formatted_duration

Defined in:
lib/rspec/core/notifications.rb

#formatted_durationString

Returns a formatted version of the time it took to run the suite.

Returns:

  • (String)

    a formatted version of the time it took to run the suite

[View source]

374
375
376
# File 'lib/rspec/core/notifications.rb', line 374

def formatted_duration
  Formatters::Helpers.format_duration(duration)
end