run phx.new and add phx.gen.auth

This commit is contained in:
2021-03-11 21:12:55 -05:00
committed by csculley
commit 5b5f1ce1e5
89 changed files with 20012 additions and 0 deletions

View File

@ -0,0 +1,11 @@
defmodule LokalWeb.PageLiveTest do
use LokalWeb.ConnCase
import Phoenix.LiveViewTest
test "disconnected and connected render", %{conn: conn} do
{:ok, page_live, disconnected_html} = live(conn, "/")
assert disconnected_html =~ "Welcome to Phoenix!"
assert render(page_live) =~ "Welcome to Phoenix!"
end
end