Move test in correct describe block
This commit is contained in:
@@ -360,7 +360,6 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do
|
||||
|> refute_has("button#camera-button")
|
||||
|> assert_has("video#camera-preview")
|
||||
end
|
||||
end
|
||||
|
||||
test "it adds a record after scanning", %{conn: conn} do
|
||||
barcode = "5037300650128"
|
||||
@@ -444,6 +443,7 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do
|
||||
musicbrainz_id: "1932f5b6-0b7b-4050-b1df-833ca89e5f44"
|
||||
} = marillion
|
||||
end
|
||||
end
|
||||
|
||||
defp cover_url(record, width) do
|
||||
transform = %Transform{hash: record.cover_hash, width: width}
|
||||
|
||||
Reference in New Issue
Block a user