memEx/test/memex_web/controllers/home_controller_test.exs

15 lines
264 B
Elixir
Raw Normal View History

2022-07-25 19:31:54 -04:00
defmodule MemexWeb.HomeControllerTest do
2022-02-25 21:53:15 -05:00
@moduledoc """
Tests the home page
"""
2022-07-25 19:31:54 -04:00
use MemexWeb.ConnCase
2022-02-25 21:53:15 -05:00
@moduletag :home_controller_test
test "GET /", %{conn: conn} do
conn = get(conn, "/")
2022-11-17 22:30:01 -05:00
assert html_response(conn, 200) =~ "memex"
2022-02-25 21:53:15 -05:00
end
end