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
b7a74f57
Commit
b7a74f57
authored
Jul 24, 2015
by
Christina Roberts
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9044 from edx/christina/verify-tests-running
Teams-related JS test cleanup
parents
cc7762e0
41d9e2ef
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
7 deletions
+10
-7
common/static/common/js/spec/components/paginated_view_spec.js
+2
-1
common/static/common/js/spec/components/paging_collection_spec.js
+1
-1
common/static/common/js/spec/components/paging_footer_spec.js
+2
-1
common/static/common/js/spec/components/paging_header_spec.js
+2
-1
lms/djangoapps/teams/static/teams/js/spec/teams_factory_spec.js
+1
-1
lms/djangoapps/teams/static/teams/js/teams_tab_factory.js
+2
-2
No files found.
common/static/common/js/spec/components/paginated_view_spec.js
View file @
b7a74f57
define
([
'jquery'
,
'backbone'
,
'underscore'
,
'common/js/spec_helpers/ajax_helpers'
,
'common/js/components/views/paginated_view'
,
'common/js/components/collections/paging_collection'
],
function
(
Backbone
,
_
,
AjaxHelpers
,
PaginatedView
,
PagingCollection
)
{
],
function
(
$
,
Backbone
,
_
,
AjaxHelpers
,
PaginatedView
,
PagingCollection
)
{
'use strict'
;
describe
(
'PaginatedView'
,
function
()
{
var
TestItemView
=
Backbone
.
View
.
extend
({
...
...
common/static/common/js/spec/components/paging_collection_spec.js
View file @
b7a74f57
...
...
@@ -239,7 +239,7 @@ define(['jquery',
}
expect
(
collection
.
getPage
()).
toBe
(
newPage
);
}
)
)
;
});
});
});
...
...
common/static/common/js/spec/components/paging_footer_spec.js
View file @
b7a74f57
define
([
'jquery'
,
'URI'
,
'underscore'
,
'common/js/spec_helpers/ajax_helpers'
,
'common/js/components/views/paging_footer'
,
'common/js/components/collections/paging_collection'
],
function
(
URI
,
_
,
AjaxHelpers
,
PagingFooter
,
PagingCollection
)
{
],
function
(
$
,
URI
,
_
,
AjaxHelpers
,
PagingFooter
,
PagingCollection
)
{
'use strict'
;
describe
(
"PagingFooter"
,
function
()
{
var
pagingFooter
,
...
...
common/static/common/js/spec/components/paging_header_spec.js
View file @
b7a74f57
define
([
'underscore'
,
'common/js/components/views/paging_header'
,
'common/js/components/collections/paging_collection'
],
function
(
PagingHeader
,
PagingCollection
)
{
],
function
(
_
,
PagingHeader
,
PagingCollection
)
{
'use strict'
;
describe
(
'PagingHeader'
,
function
()
{
var
pagingHeader
,
...
...
lms/djangoapps/teams/static/teams/js/spec/teams_factory_spec.js
View file @
b7a74f57
...
...
@@ -11,7 +11,7 @@ define(["jquery", "backbone", "teams/js/teams_tab_factory"],
topics
:
{
results
:
[]},
topics_url
:
''
,
teams_url
:
''
,
maxTeamSize
:
9999
maxTeamSize
:
9999
,
course_id
:
'edX/DemoX/Demo_Course'
});
});
...
...
lms/djangoapps/teams/static/teams/js/teams_tab_factory.js
View file @
b7a74f57
;(
function
(
define
)
{
'use strict'
;
define
([
'jquery'
,
'teams/js/views/teams_tab'
],
function
(
$
,
TeamsTabView
)
{
define
([
'jquery'
,
'
underscore'
,
'backbone'
,
'
teams/js/views/teams_tab'
],
function
(
$
,
_
,
Backbone
,
TeamsTabView
)
{
return
function
(
options
)
{
var
teamsTab
=
new
TeamsTabView
(
_
.
extend
(
options
,
{
el
:
$
(
'.teams-content'
)}));
teamsTab
.
render
();
...
...
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