Updating code example for serverspec v2