esrom/ui/test/ui_web/controllers/page_controller_test.exs
2019-07-13 20:16:46 +02:00

8 lines
190 B
Elixir

defmodule UiWeb.PageControllerTest do
use UiWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, "/")
assert html_response(conn, 200) =~ "Welcome to Phoenix!"
end
end