forked from hiway/freedive
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>
|
<.block>
|
||||||
Don't have an account?
|
Don't have an account?
|
||||||
<.link navigate={~p"/users/register"} class="font-semibold text-brand hover:underline">
|
<.link navigate={~p"/users/register"} class="font-semibold text-brand hover:underline">
|
||||||
Sign up
|
Register
|
||||||
</.link>
|
</.link>
|
||||||
for an account now.
|
an account now.
|
||||||
</.block>
|
</.block>
|
||||||
</:actions>
|
</:actions>
|
||||||
</.simple_form>
|
</.simple_form>
|
||||||
|
|
|
@ -9,7 +9,7 @@ defmodule FreediveWeb.UserLoginLiveTest do
|
||||||
{:ok, _lv, html} = live(conn, ~p"/users/log_in")
|
{:ok, _lv, html} = live(conn, ~p"/users/log_in")
|
||||||
|
|
||||||
assert html =~ "Log in"
|
assert html =~ "Log in"
|
||||||
assert html =~ "Sign up"
|
assert html =~ "Register"
|
||||||
assert html =~ "Forgot your password?"
|
assert html =~ "Forgot your password?"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ defmodule FreediveWeb.UserLoginLiveTest do
|
||||||
|
|
||||||
{:ok, _login_live, login_html} =
|
{:ok, _login_live, login_html} =
|
||||||
lv
|
lv
|
||||||
|> element(~s|main a:fl-contains("Sign up")|)
|
|> element(~s|main a:fl-contains("Register")|)
|
||||||
|> render_click()
|
|> render_click()
|
||||||
|> follow_redirect(conn, ~p"/users/register")
|
|> follow_redirect(conn, ~p"/users/register")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue