Skip to content

Instantly share code, notes, and snippets.

@paulcsmith
Created January 23, 2016 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulcsmith/ff8f3d92e6a3f86608ad to your computer and use it in GitHub Desktop.
Save paulcsmith/ff8f3d92e6a3f86608ad to your computer and use it in GitHub Desktop.
Bamboo assert_email_delivered/1 function
# Something like this might make testing simpler
def assert_email_delivered(email) do
email = email |> Bamboo.Mailer.normalize_addresses
assert_received({:delivered_bamboo_email, ^email})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment