Method: RSpec::Core::Notifications::FailedExampleNotification#fully_formatted

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

#fully_formatted(failure_number, colorizer = ::RSpec::Core::Formatters::ConsoleCodes) ⇒ String

Returns The failure information fully formatted in the way that RSpec's built-in formatters emit.

Returns:

  • (String)

    The failure information fully formatted in the way that RSpec's built-in formatters emit.

[View source]

201
202
203
# File 'lib/rspec/core/notifications.rb', line 201

def fully_formatted(failure_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)
  @exception_presenter.fully_formatted(failure_number, colorizer)
end