memEx/test/memex_web/live/faq_live_test.exs
shibao 50be85a1c3
Some checks are pending
continuous-integration/drone/push Build is running
make test async
2023-04-14 23:50:16 -04:00

11 lines
312 B
Elixir

defmodule MemexWeb.FaqLiveTest do
use MemexWeb.ConnCase, async: true
import Phoenix.LiveViewTest
test "disconnected and connected render", %{conn: conn} do
{:ok, page_live, disconnected_html} = live(conn, ~p"/faq")
assert disconnected_html =~ "faq"
assert render(page_live) =~ "faq"
end
end