Note to future self:
assert_empty
first asserts that the object under test responds to empty?
, then it asserts that empty?
returns true (link).
assert_not_empty
(refute_empty
) also uses two assertions.
If the assertions count looks too high, this could be why!