BoolSubject¶
BoolSubject.new¶
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 ¶
BoolSubject.not_equals¶
BoolSubject.not_equals(unexpected)
Assert that the bool is not equal to unexpected
.
Method: BoolSubject.not_equals
PARAMETERS ¶