Vocab: Sign up -> Register
This commit is contained in:
parent
8b9088797a
commit
ca74091335
2 changed files with 4 additions and 4 deletions
|
@ -34,9 +34,9 @@ defmodule FreediveWeb.UserLoginLive do
|
|||
<.block>
|
||||
Don't have an account?
|
||||
<.link navigate={~p"/users/register"} class="font-semibold text-brand hover:underline">
|
||||
Sign up
|
||||
Register
|
||||
</.link>
|
||||
for an account now.
|
||||
an account now.
|
||||
</.block>
|
||||
</:actions>
|
||||
</.simple_form>
|
||||
|
|
|
@ -9,7 +9,7 @@ defmodule FreediveWeb.UserLoginLiveTest do
|
|||
{:ok, _lv, html} = live(conn, ~p"/users/log_in")
|
||||
|
||||
assert html =~ "Log in"
|
||||
assert html =~ "Sign up"
|
||||
assert html =~ "Register"
|
||||
assert html =~ "Forgot your password?"
|
||||
end
|
||||
|
||||
|
@ -63,7 +63,7 @@ defmodule FreediveWeb.UserLoginLiveTest do
|
|||
|
||||
{:ok, _login_live, login_html} =
|
||||
lv
|
||||
|> element(~s|main a:fl-contains("Sign up")|)
|
||||
|> element(~s|main a:fl-contains("Register")|)
|
||||
|> render_click()
|
||||
|> follow_redirect(conn, ~p"/users/register")
|
||||
|
||||
|
|
Loading…
Reference in a new issue