Fixing use of deprecated method in Checkout spec