BoolSubject

BoolSubject.new

BoolSubject.new(value, meta)

Creates a “BoolSubject” struct.

Method: BoolSubject.new

PARAMETERS

value:

(bool) the value to assert against.

meta:

(ExpectMeta) the metadata about the call chain.

RETURNS

A BoolSubject.

BoolSubject.equals

BoolSubject.equals(expected)

Assert that the bool is equal to expected.

Method: BoolSubject.equals

PARAMETERS

expected:

(bool) the expected value.

BoolSubject.not_equals

BoolSubject.not_equals(unexpected)

Assert that the bool is not equal to unexpected.

Method: BoolSubject.not_equals

PARAMETERS

unexpected:

(bool) the value actual cannot equal.