cannery/test/lokal_web/controllers/home_controller_test.exs

15 lines
275 B
Elixir
Raw Normal View History

2022-02-25 21:53:15 -05:00
defmodule LokalWeb.HomeControllerTest do
@moduledoc """
Tests the home page
"""
use LokalWeb.ConnCase
@moduletag :home_controller_test
test "GET /", %{conn: conn} do
conn = get(conn, "/")
assert html_response(conn, 200) =~ "Welcome to Lokal"
end
end