2026-07-04 18:05:14 +09:00
|
|
|
defmodule Rsh26poolWeb.PageControllerTest do
|
|
|
|
|
use Rsh26poolWeb.ConnCase
|
|
|
|
|
|
2026-07-04 19:27:17 +09:00
|
|
|
test "GET / renders the Japanese home with create and enter entry points", %{conn: conn} do
|
2026-07-04 18:05:14 +09:00
|
|
|
conn = get(conn, ~p"/")
|
2026-07-04 19:27:17 +09:00
|
|
|
response = html_response(conn, 200)
|
|
|
|
|
|
|
|
|
|
assert response =~ "みんなで"
|
|
|
|
|
assert response =~ "ルームを作成"
|
|
|
|
|
assert response =~ "ルームに参加"
|
|
|
|
|
assert response =~ ~p"/create"
|
|
|
|
|
assert response =~ ~p"/enter"
|
2026-07-04 18:05:14 +09:00
|
|
|
end
|
|
|
|
|
end
|