Pattern: Missing use of be_empty
Issue: -
Prefer using be_empty
when checking for an empty array.
# bad
expect(array).to contain_exactly
expect(array).to match_array([])
# good
expect(array).to be_empty
Pattern: Missing use of be_empty
Issue: -
Prefer using be_empty
when checking for an empty array.
# bad
expect(array).to contain_exactly
expect(array).to match_array([])
# good
expect(array).to be_empty