expect pupil.save! to raise error