class RSpec::Core::Notifications::PendingExampleFailedAsExpectedNotification

@see ExampleNotification
@attr [RSpec::Core::Example] example the current example
things useful for pending specs that fail as expected.
The ‘PendingExampleFailedAsExpectedNotification` extends `FailedExampleNotification` with

def exception

Returns:
  • (Exception) - The exception that occurred while the pending example was executed
def exception
  example.execution_result.pending_exception
end

def fully_formatted(pending_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)

Returns:
  • (String) - The pending detail fully formatted in the way that
def fully_formatted(pending_number, colorizer=::RSpec::Core::Formatters::ConsoleCodes)
  fully_formatted_header(pending_number, colorizer) << formatted_message_and_backtrace(colorizer)
end

def message_color

def message_color
  RSpec.configuration.pending_color
end