is there a reason to use `.collect &:name` on the "expected" line and `.collect { |dev| dev.name }` on the "recevied" line?