test: rudimentary fix
This commit is contained in:
@@ -3,6 +3,7 @@ defmodule ComponentsElixirWeb.PageControllerTest do
|
||||
|
||||
test "GET /", %{conn: conn} do
|
||||
conn = get(conn, ~p"/")
|
||||
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
|
||||
# redirect to login
|
||||
assert html_response(conn, 302)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user