Spectator::ExpectationFailed
Inherits Spectator::ExampleFailed < Exception < Reference < Object
Exception that indicates a required expectation was not met in an example.
Constructors
new(expectation : Spectator::Expectations::Expectation)
Creates the exception. The exception string is generated from the expecation message.