Update spec for get_years generator.