cannery/test/cannery_web/controllers/home_controller_test.exs
2022-02-16 20:59:40 -05:00

15 lines
281 B
Elixir

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