View Source ESpec.AssertReceive (ESpec v1.9.2)

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

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.