DRY-ed up specs