class

Spectator::PassResult

Inherits Spectator::Result / Reference / Object

Outcome that indicates running an example was successful.

Instance methods

accept(visitor)

Calls the pass method on visitor.

Source
accept(visitor, &)

Calls the pass method on visitor.

Source
fail?

Indicates whether the example failed.

Source
pass?

Indicates whether the example passed.

Source
to_json(json : JSON::Builder)

Creates a JSON object from the result information.

Source
to_s(io : IO) : Nil

One-word description of the result.

Source