Include artists in record test fixture

This commit is contained in:
Claudio Ortolina
2024-10-10 09:21:35 +01:00
parent 10003c34f6
commit 1fdf36ea8a
4 changed files with 29 additions and 8 deletions
@@ -41,7 +41,7 @@ defmodule MusicLibraryWeb.StatsControllerTest do
assert html_response(conn, 200) =~ escape(latest_record.title)
for artist <- latest_record.artists do
assert html_response(conn, 200) =~ escape(artist["name"])
assert html_response(conn, 200) =~ escape(artist.name)
end
end
end