Refactor Records.Cover to Assets.Image

This commit is contained in:
Claudio Ortolina
2025-09-20 07:42:38 +03:00
parent c5d856fdd8
commit 90b3fa1fdc
8 changed files with 20 additions and 23 deletions
-16
View File
@@ -1,16 +0,0 @@
defmodule MusicLibrary.Records.CoverTest do
use ExUnit.Case, async: true
import MusicLibrary.Fixtures.Records
alias MusicLibrary.Records.Cover
describe "resize/1" do
test "it resizes to the desired size" do
# Use the cached cover data which is much faster than reading from disk
cover_data = marbles_cover_data()
{:ok, resized_cover} = Cover.resize(cover_data)
assert cover_data !== resized_cover
end
end
end