rename page path to home path

This commit is contained in:
2022-05-05 21:47:22 -04:00
committed by oliviasculley
parent 38a581b639
commit 10877bb754
39 changed files with 238 additions and 234 deletions

View File

@ -46,7 +46,8 @@ defmodule LokalWeb.InviteLiveTest do
|> render_submit()
|> follow_redirect(conn, Routes.invite_index_path(conn, :index))
assert html =~ dgettext("prompts", "%{name} created successfully", name: "some name")
assert html =~
dgettext("prompts", "%{invite_name} created successfully", invite_name: "some name")
assert html =~ "some name"
end
@ -70,7 +71,9 @@ defmodule LokalWeb.InviteLiveTest do
|> follow_redirect(conn, Routes.invite_index_path(conn, :index))
assert html =~
dgettext("prompts", "%{name} updated successfully", name: "some updated name")
dgettext("prompts", "%{invite_name} updated successfully",
invite_name: "some updated name"
)
assert html =~ "some updated name"
end

View File

@ -1,4 +1,4 @@
defmodule LokalWeb.PageLiveTest do
defmodule LokalWeb.HomeLiveTest do
use LokalWeb.ConnCase
import Phoenix.LiveViewTest