Fixing error before/let in cart_spec