ESpec v1.1.2 ESpec.RefuteReceive

Defines refute_receive and refute_received helper macros

Summary

Macros

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)

Macros

refute_receive(pattern, timeout \\ 100)

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

refute_received(pattern)

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