memEx/test/memex_web/controllers/home_controller_test.exs
2022-11-26 21:32:12 -05:00

15 lines
264 B
Elixir

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