ESpec v1.3.1 ESpec.AssertReceive

Defines assert_receive and assert_received helper macros

Summary

Functions

Asserts that a message matching pattern was or is going to be received

Asserts that a message matching pattern was received and is in the current process’ mailbox

Functions

assert_receive(pattern, timeout \\ 100) (macro)

Asserts that a message matching pattern was or is going to be received.

assert_received(pattern) (macro)

Asserts that a message matching pattern was received and is in the current process’ mailbox.