edx/edx-platform — pull request #6333 by wedaly (2014-12-19 20:30:42+00:00)
Title: Jasmine tests for verification / payment; small bugfixes

* Add Jasmine tests for a good chunk of the payment/verification JavaScript.
* Found and fixed a bug: the payment button should be enabled if there are no suggested prices (and no radio buttons).
* Some general cleanup / refactoring.

Reviewers: @rlucioni @AlasdairSwan