ESpec v1.2.2 ESpec.AssertReceive

Defines assert_receive and assert_received helper macros

Summary

Macros

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

Macros

assert_receive(pattern, timeout \\ 100)

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

assert_received(pattern)

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