Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8ef0e77e
Commit
8ef0e77e
authored
Jan 11, 2015
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent Jasmine tests from redirecting in dev mode
Also prevent Jasmine from attempting to load deleted templates
parent
66e6d1cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
lms/static/js/spec/student_account/access_spec.js
+3
-0
lms/static/js/spec/verify_student/make_payment_step_view_spec.js
+0
-1
lms/static/js/spec/verify_student/pay_and_verify_view_spec.js
+0
-2
No files found.
lms/static/js/spec/student_account/access_spec.js
View file @
8ef0e77e
...
...
@@ -157,6 +157,9 @@ define([
it
(
'toggles between the login and registration forms'
,
function
()
{
ajaxSpyAndInitialize
(
this
,
'login'
);
// Prevent URL from updating
spyOn
(
history
,
'pushState'
).
andCallFake
(
function
()
{}
);
// Simulate selection of the registration form
selectForm
(
'register'
);
assertForms
(
'#register-form'
,
'#login-form'
);
...
...
lms/static/js/spec/verify_student/make_payment_step_view_spec.js
View file @
8ef0e77e
...
...
@@ -136,7 +136,6 @@ define([
setFixtures
(
'<div id="current-step-container"></div>'
);
TemplateHelpers
.
installTemplate
(
'templates/verify_student/make_payment_step'
);
TemplateHelpers
.
installTemplate
(
'templates/verify_student/requirements'
);
});
it
(
'allows users to choose a suggested price'
,
function
()
{
...
...
lms/static/js/spec/verify_student/pay_and_verify_view_spec.js
View file @
8ef0e77e
...
...
@@ -12,8 +12,6 @@ define(['jquery', 'js/common_helpers/template_helpers', 'js/verify_student/views
'intro_step'
,
'make_payment_step'
,
'payment_confirmation_step'
,
'progress'
,
'requirements'
,
'review_photos_step'
,
'webcam_photo'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment