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
7a9ec6bd
Commit
7a9ec6bd
authored
Jan 11, 2015
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6546 from edx/renzo/fix-jasmine-tests
Prevent Jasmine tests from redirecting in dev mode
parents
66e6d1cf
8ef0e77e
Show 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 @
7a9ec6bd
...
@@ -157,6 +157,9 @@ define([
...
@@ -157,6 +157,9 @@ define([
it
(
'toggles between the login and registration forms'
,
function
()
{
it
(
'toggles between the login and registration forms'
,
function
()
{
ajaxSpyAndInitialize
(
this
,
'login'
);
ajaxSpyAndInitialize
(
this
,
'login'
);
// Prevent URL from updating
spyOn
(
history
,
'pushState'
).
andCallFake
(
function
()
{}
);
// Simulate selection of the registration form
// Simulate selection of the registration form
selectForm
(
'register'
);
selectForm
(
'register'
);
assertForms
(
'#register-form'
,
'#login-form'
);
assertForms
(
'#register-form'
,
'#login-form'
);
...
...
lms/static/js/spec/verify_student/make_payment_step_view_spec.js
View file @
7a9ec6bd
...
@@ -136,7 +136,6 @@ define([
...
@@ -136,7 +136,6 @@ define([
setFixtures
(
'<div id="current-step-container"></div>'
);
setFixtures
(
'<div id="current-step-container"></div>'
);
TemplateHelpers
.
installTemplate
(
'templates/verify_student/make_payment_step'
);
TemplateHelpers
.
installTemplate
(
'templates/verify_student/make_payment_step'
);
TemplateHelpers
.
installTemplate
(
'templates/verify_student/requirements'
);
});
});
it
(
'allows users to choose a suggested price'
,
function
()
{
it
(
'allows users to choose a suggested price'
,
function
()
{
...
...
lms/static/js/spec/verify_student/pay_and_verify_view_spec.js
View file @
7a9ec6bd
...
@@ -12,8 +12,6 @@ define(['jquery', 'js/common_helpers/template_helpers', 'js/verify_student/views
...
@@ -12,8 +12,6 @@ define(['jquery', 'js/common_helpers/template_helpers', 'js/verify_student/views
'intro_step'
,
'intro_step'
,
'make_payment_step'
,
'make_payment_step'
,
'payment_confirmation_step'
,
'payment_confirmation_step'
,
'progress'
,
'requirements'
,
'review_photos_step'
,
'review_photos_step'
,
'webcam_photo'
'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