Class: Spec::Runner::Reporter::Failure

Class | Spec::Runner::Reporter::Failure
In: | lib/spec/runner/reporter.rb
Parent: | Object

### Methods

header

### Attributes

exception | [R] | The Exception object raised

### Public Instance methods

header()

Header messsage for reporting this failure, including the name of the example and an indicator of the type of failure. FAILED indicates a failed expectation. FIXED indicates a pending example that passes, and no longer needs to be pending. RuntimeError indicates that a RuntimeError occured.

## Examples

      'A new account should have a zero balance' FAILED
      'A new account should have a zero balance' FIXED
      RuntimeError in 'A new account should have a zero balance'

[Validate]