ESpec v1.6.0 ESpec.RefuteReceive View Source

Defines refute_receive and refute_received helper macros

Link to this section 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)

Link to this section Functions

Link to this macro refute_receive(pattern, timeout \\ 100) View Source (macro)

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

Link to this macro refute_received(pattern) View Source (macro)

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