ESpec.AssertReceive (ESpec v1.10.0)

View Source

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.