mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 10:33:01 +03:00
13 lines
279 B
Elixir
13 lines
279 B
Elixir
defmodule Plausible.MailerTest do
|
|
use Plausible.DataCase
|
|
use Bamboo.Test
|
|
|
|
test "send/1 sends an email" do
|
|
user = build(:user)
|
|
email = PlausibleWeb.Email.welcome_email(user)
|
|
|
|
assert :ok == Plausible.Mailer.send(email)
|
|
assert_delivered_email(email)
|
|
end
|
|
end
|