Update dependencies
ex_slop 0.4.1 => 0.4.2 Introduces a new check around misusing the `length/1` function which require widespread fixes.
This commit is contained in:
@@ -680,7 +680,7 @@ defmodule MusicLibraryWeb.CollectionLive.IndexTest do
|
||||
|
||||
# Verify exactly two distinct import jobs were enqueued
|
||||
enqueued = all_enqueued(worker: ImportFromMusicbrainzRelease)
|
||||
assert length(enqueued) == 2
|
||||
assert Enum.count_until(enqueued, 3) == 2
|
||||
assert Enum.all?(enqueued, & &1.args["release_id"])
|
||||
|
||||
# No records should have been inserted synchronously
|
||||
|
||||
@@ -176,7 +176,7 @@ defmodule MusicLibraryWeb.ScrobbledTracksLive.RulePickerTest do
|
||||
assert_has(session, "#rule-picker-modal")
|
||||
|
||||
# Only the original rule exists, no duplicate was created
|
||||
assert length(ScrobbleRules.list_scrobble_rules(type: :album)) == 1
|
||||
assert Enum.count_until(ScrobbleRules.list_scrobble_rules(type: :album), 2) == 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user