View Source Mail.TestAssertions (mail v0.4.0)

Primitives for building your own assertions for Mail.Message renderers.

A custom assertion should implement its own parser. The result of the parsing the actual message and the expected message is then passed into compare/2

Summary

Functions

Primary hook used by rendered mail assertions. Expected parsed messages.

Functions

Link to this function

compare(actual, expected)

View Source

Primary hook used by rendered mail assertions. Expected parsed messages.