memEx/test/memex_web/controllers/home_controller_test.exs

15 lines
275 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-07-25 19:31:54 -04:00
assert html_response(conn, 200) =~ "Welcome to Memex"
2022-02-25 21:53:15 -05:00
end
end