12 lines
302 B
Elixir
12 lines
302 B
Elixir
defmodule MemexWeb.HomeLiveTest do
|
|
use MemexWeb.ConnCase
|
|
|
|
import Phoenix.LiveViewTest
|
|
|
|
test "disconnected and connected render", %{conn: conn} do
|
|
{:ok, page_live, disconnected_html} = live(conn, ~p"/")
|
|
assert disconnected_html =~ "memEx"
|
|
assert render(page_live) =~ "memEx"
|
|
end
|
|
end
|