Remove deprecated syntax from robot spec