Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve assert_reply error messages (#19)
Currently the error assertions happen directly on _all_ the messages that the channel has received, when we only very specifically care about the specific reply to our message. This PR splits that assertion into two steps, the first step gets the reply, and the second step asserts on the expected status and reply. They are asserted together so that when there's an error you get detailed information about what the error payload is, otherwise your initial test failure may simply tell you something like ":ok does not equal :error"
- Loading branch information