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:
@@ -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