Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-dashboard
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-analytics-dashboard
Commits
dfe00773
Commit
dfe00773
authored
Aug 18, 2016
by
Tyler Hallada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tracking test from controller-spec
parent
a019ec96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
analytics_dashboard/static/apps/learners/app/spec/controller-spec.js
+0
-4
No files found.
analytics_dashboard/static/apps/learners/app/spec/controller-spec.js
View file @
dfe00773
...
@@ -29,8 +29,6 @@ define(function(require) {
...
@@ -29,8 +29,6 @@ define(function(require) {
.
toContainText
(
'Learner Details'
);
.
toContainText
(
'Learner Details'
);
expect
(
controller
.
options
.
rootView
.
$
(
'.learners-header-region'
).
html
())
expect
(
controller
.
options
.
rootView
.
$
(
'.learners-header-region'
).
html
())
.
not
.
toContainText
(
date
.
toLocaleDateString
(
'en-us'
,
{
year
:
'numeric'
,
month
:
'long'
,
day
:
'numeric'
}));
.
not
.
toContainText
(
date
.
toLocaleDateString
(
'en-us'
,
{
year
:
'numeric'
,
month
:
'long'
,
day
:
'numeric'
}));
expect
(
controller
.
options
.
trackingModel
.
get
(
'page'
)).
toBe
(
'learner_details'
);
expect
(
controller
.
options
.
trackingModel
.
trigger
).
toHaveBeenCalledWith
(
'segment:page'
);
};
};
// convenience method for asserting that we are on the roster page
// convenience method for asserting that we are on the roster page
...
@@ -39,8 +37,6 @@ define(function(require) {
...
@@ -39,8 +37,6 @@ define(function(require) {
.
not
.
toContainText
(
'Return to Learners'
);
.
not
.
toContainText
(
'Return to Learners'
);
expect
(
controller
.
options
.
rootView
.
$
(
'.learner-roster'
)).
toBeInDOM
();
expect
(
controller
.
options
.
rootView
.
$
(
'.learner-roster'
)).
toBeInDOM
();
expect
(
controller
.
options
.
rootView
.
$
(
'.learners-header-region'
).
html
()).
toContainText
(
'Learners'
);
expect
(
controller
.
options
.
rootView
.
$
(
'.learners-header-region'
).
html
()).
toContainText
(
'Learners'
);
expect
(
controller
.
options
.
trackingModel
.
get
(
'page'
)).
toBe
(
'learner_roster'
);
expect
(
controller
.
options
.
trackingModel
.
trigger
).
toHaveBeenCalledWith
(
'segment:page'
);
};
};
beforeEach
(
function
()
{
beforeEach
(
function
()
{
...
...
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