frenzy/test/frenzy_web/controllers/page_controller_test.exs

9 lines
198 B
Elixir
Raw Normal View History

2019-02-11 22:22:35 +00:00
defmodule FrenzyWeb.PageControllerTest do
use FrenzyWeb.ConnCase
test "GET /", %{conn: conn} do
conn = get(conn, "/")
assert html_response(conn, 200) =~ "Welcome to Phoenix!"
end
end