cannery/test/cannery_web/controllers/home_controller_test.exs
2023-04-14 23:48:50 -04:00

15 lines
296 B
Elixir

defmodule CanneryWeb.HomeControllerTest do
@moduledoc """
Tests the home page
"""
use CanneryWeb.ConnCase, async: true
@moduletag :home_controller_test
test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
assert html_response(conn, 200) =~ "Welcome to Cannery"
end
end