Fix failing specs after updating rails. (3.2.17 → 3.2.19)