oneshot
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
defmodule Rsh26poolWeb.PageControllerTest do
|
||||
use Rsh26poolWeb.ConnCase
|
||||
|
||||
test "GET /", %{conn: conn} do
|
||||
test "GET / renders the Japanese home with create and enter entry points", %{conn: conn} do
|
||||
conn = get(conn, ~p"/")
|
||||
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
|
||||
response = html_response(conn, 200)
|
||||
|
||||
assert response =~ "みんなで"
|
||||
assert response =~ "ルームを作成"
|
||||
assert response =~ "ルームに参加"
|
||||
assert response =~ ~p"/create"
|
||||
assert response =~ ~p"/enter"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user