it 'does not include votes of a hidden comments' do
      not_public_comment = create(:comment)
      allow(Vote).to receive(:public_for_api).and_return([])

      not_public_comment_vote = create(:vote, votable: not_public_comment)