ESpec.RefuteReceive (ESpec v1.10.0)

View Source

Defines refute_receive and refute_received helper macros

Summary

Functions

Asserts that a message matching pattern was not received (and won't be received) within the timeout period.

Asserts a message matching pattern was not received (i.e. it is not in the current process' mailbox)

Functions

refute_receive(pattern, timeout \\ 100)

(macro)

Asserts that a message matching pattern was not received (and won't be received) within the timeout period.

refute_received(pattern)

(macro)

Asserts a message matching pattern was not received (i.e. it is not in the current process' mailbox)