Shorten Import button text
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
/>
|
/>
|
||||||
</form>
|
</form>
|
||||||
<.link patch={~p"/records/import"}>
|
<.link patch={~p"/records/import"}>
|
||||||
<.button>Import from MusicBrainz</.button>
|
<.button>Import</.button>
|
||||||
</.link>
|
</.link>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ defmodule MusicLibraryWeb.RecordIndexTest do
|
|||||||
{:ok, index_live, _html} = live(conn, ~p"/records")
|
{:ok, index_live, _html} = live(conn, ~p"/records")
|
||||||
|
|
||||||
assert index_live
|
assert index_live
|
||||||
|> element("a", "Import from MusicBrainz")
|
|> element("a", "Import")
|
||||||
|> render_click() =~ "Search for a record on MusicBrainz"
|
|> render_click() =~ "Search for a record on MusicBrainz"
|
||||||
|
|
||||||
assert_patch(index_live, ~p"/records/import")
|
assert_patch(index_live, ~p"/records/import")
|
||||||
|
|||||||
Reference in New Issue
Block a user