The $h$-vectors of the edge rings of a special family of graphs