Swoosh.TestAssertions.refute_email_sent
You're seeing just the macro
refute_email_sent
, go back to Swoosh.TestAssertions module for more information.
Asserts no emails were sent.
Asserts email with attributes
was not sent.
Performs pattern matching using the given pattern, equivalent to pattern = email
.
When a list of attributes is given, they will be converted to a pattern.
It converts list fields (:to
, :cc
, :bcc
) to a single element list if a single value is
given (to: "email@example.com"
=> to: ["email@example.com"]
).
After conversion, performs pattern matching using a map of email attributes, similar to
%{attributes...} = email
.