fix Ruby callback spec