Revise naming and notification around purchasing records

This commit is contained in:
Claudio Ortolina
2025-02-04 12:11:16 +00:00
parent 6cac09e81b
commit acd52978ae
6 changed files with 22 additions and 14 deletions
@@ -19,8 +19,8 @@ defmodule MusicLibraryWeb.WishlistLive.IndexTest do
conn
|> visit(~p"/wishlist")
|> click_link("#records-#{record.id} a", "Purchase")
|> assert_has("p", text: "Record updated successfully")
|> click_link("#records-#{record.id} a", "Purchased")
|> assert_has("p", text: "Record added to the collection")
purchased_record = MusicLibrary.Records.get_record!(record.id)