cannery/test/cannery_web/controllers/home_controller_test.exs

9 lines
199 B
Elixir
Raw Normal View History

2021-09-10 00:28:53 -04:00
defmodule CanneryWeb.HomeControllerTest do
use CanneryWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, "/")
assert html_response(conn, 200) =~ "Welcome to Cannery"
end
end