class Spec::Runner::Reporter::Failure

def example_name

def example_name
  @example.__full_description
end

def expectation_not_met?

def expectation_not_met?
  @exception.is_a?(Spec::Expectations::ExpectationNotMetError)
end

def header

def header
  if expectation_not_met?
    "'#{example_name}' FAILED"
  elsif pending_fixed?
    "'#{example_name}' FIXED"
  else
    "#{@exception.class.name} in '#{example_name}'"
  end
end

def initialize(example, exception)

def initialize(example, exception)
  @example = example
  @exception = exception
end

def pending_fixed?

def pending_fixed?
  @exception.is_a?(Spec::Example::PendingExampleFixedError)
end