katbin/test/ketbin_web/controllers/page_controller_test.exs
supercmmetry 6f81702291
chore(git): Initial commit
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2021-08-09 14:18:23 +05:30

9 lines
198 B
Elixir

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