While applying a voucher the spec tried to proceed the checkout before the voucher update completed rendering. It failed when the machine was slow. With rspec-slow-repeate I got 100% fail rate before and 100% pass after this change.