mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
🤓
This commit is contained in:
parent
7280c98cc9
commit
3f1241e3a7
@ -34,7 +34,7 @@ defmodule ChessWeb.GameControllerTest do
|
||||
assert redirected_to(conn) == game_path(conn, :show, game)
|
||||
end
|
||||
|
||||
test "sends and email when game is created", %{conn: conn} do
|
||||
test "sends an email when game is created", %{conn: conn} do
|
||||
opponent = insert(:user, %{name: "Daruk", email: "daruk@goron.city"})
|
||||
attrs = %{"opponent_id" => opponent.id}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user