pokemon-couture/test/pokemon_couture_web/controllers/page_controller_test.exs

9 lines
214 B
Elixir

defmodule PokemonCoutureWeb.PageControllerTest do
use PokemonCoutureWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, "/")
assert html_response(conn, 200) =~ "Welcome to Phoenix!"
end
end