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