mozilla/spartacus — pull request #27 by muffinresearch (2014-04-30 15:14:07+00:00)
Title: Fix cancel from locked + tests (bug 963640)

Added some tests to cover clicking cancel to close the payment flow.

This exposed that the timeout was calling render as well as checking paymentFailed. Moving the render call outside the timeout that waits for paymentFailed to be injected fixed that.