class

Spectator::ErroredResult

Inherits Spectator::FailedResult < Spectator::FinishedResult < Spectator::Result < Reference < Object

Outcome that indicates running an example generated an error. This type of result occurs when an exception was raised. This is different from a "failed" result in that the error was not from a failed expectation.

Instance methods

call(interface)

Calls the error method on interface.

Source
call(interface, &)

Calls the error method on interface and passes the yielded value.

Source
to_s(io)

One-word descriptor of the result.

Source