class

Spec2::Expectation(T)

Inherits Spec2::ExpectationProtocol < Reference < Object

Constructors

new(actual : T)
Source

Instance methods

actual
Source
callback(ok, failure_message, failure_message_when_negated)
Source
matcher
Source
negative
Source
negative_callback(ok, message)
Source
not_to(matcher : Spec2::Matcher | Nil)
Source
not_to_be
Source
positive_callback(ok, message)
Source
to(matcher : Spec2::Matcher | Nil)
Source
to_be
Source