Fix logistration Jasmine tests
Includes several bug fixes caught during test writing, general clean-up, and adds js-url, a lightweight URL parser Moved to setting ajaxType with passed in method for models and now handling form load fail errors Added tests.
Showing
- lms/static/js/spec/student_account/access_spec.js 20 additions, 5 deletionslms/static/js/spec/student_account/access_spec.js
- lms/static/js/spec/student_account/register_spec.js 6 additions, 6 deletionslms/static/js/spec/student_account/register_spec.js
- lms/static/js/student_account/models/LoginModel.js 11 additions, 8 deletionslms/static/js/student_account/models/LoginModel.js
- lms/static/js/student_account/models/PasswordResetModel.js 11 additions, 8 deletionslms/static/js/student_account/models/PasswordResetModel.js
- lms/static/js/student_account/models/RegisterModel.js 12 additions, 9 deletionslms/static/js/student_account/models/RegisterModel.js
- lms/static/js/student_account/views/AccessView.js 15 additions, 9 deletionslms/static/js/student_account/views/AccessView.js
- lms/static/js/student_account/views/FormView.js 0 additions, 2 deletionslms/static/js/student_account/views/FormView.js
- lms/templates/student_account/access.underscore 7 additions, 1 deletionlms/templates/student_account/access.underscore
Loading
Please register or sign in to comment