class RSpec::Core::Notifications::PendingExampleFixedNotification
@see ExampleNotification
@attr [RSpec::Core::Example] example the current example
things useful for specs that pass when they are expected to fail.
The ‘PendingExampleFixedNotification` extends `ExampleNotification` with
def colorized_message_lines(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
-
(Array(String))
- The example failure message colorized
Parameters:
-
colorizer
(#wrap
) -- An object to colorize the message_lines by
def colorized_message_lines(colorizer=::RSpec::Core::Formatters::ConsoleCodes) message_lines.map { |line| colorizer.wrap(line, RSpec.configuration.fixed_color) } end
def description
-
(String)
- The example description
def description "#{example.full_description} FIXED" end
def message_lines
-
(Array(String))
- The example failure message
def message_lines ["Expected pending '#{example.execution_result.pending_message}' to fail. No Error was raised."] end