change invite path

This commit is contained in:
2023-04-16 00:46:49 -04:00
parent e6ef0a8c68
commit ab1a288928
4 changed files with 4 additions and 3 deletions

View File

@ -51,7 +51,7 @@ defmodule CanneryWeb.InviteLiveTest do
|> element(~s/a[aria-label="Edit invite for #{invite.name}"]/)
|> render_click() =~ "Edit Invite"
assert_patch(index_live, ~p"/invites/#{invite}/edit")
assert_patch(index_live, ~p"/invites/edit/#{invite}")
assert index_live
|> form("#invite-form")