ESpec v1.7.0 ESpec.AssertReceive View Source
Defines assert_receive
and assert_received
helper macros
Link to this section 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
Link to this section Functions
Link to this macro
assert_receive(pattern, timeout \\ 100) View Source (macro)
Asserts that a message matching pattern
was or is going to be received.
Link to this macro
assert_received(pattern) View Source (macro)
Asserts that a message matching pattern
was received and is in the current process' mailbox.