cannery/test/cannery_web/controllers/home_controller_test.exs
shibao 8cb6068b85
Some checks failed
continuous-integration/drone/push Build is failing
make tests async
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