each_with_index and spec