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
c0c5e920
Commit
c0c5e920
authored
May 30, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Go back to setFixtures.
parent
2f504ec4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
cms/static/coffee/spec/main_spec.coffee
+1
-1
cms/static/coffee/spec/views/feedback_spec.coffee
+1
-1
cms/static/coffee/spec/views/metadata_edit_spec.coffee
+0
-0
cms/static/coffee/spec/views/module_edit_spec.coffee
+1
-1
cms/static/coffee/spec/views/section_spec.coffee
+1
-1
No files found.
cms/static/coffee/spec/main_spec.coffee
View file @
c0c5e920
...
...
@@ -27,7 +27,7 @@ describe "AJAX Errors", ->
tpl
=
readFixtures
(
'system-feedback.underscore'
)
beforeEach
->
appendS
etFixtures
(
$
(
"<script>"
,
{
id
:
"system-feedback-tpl"
,
type
:
"text/template"
}).
text
(
tpl
))
s
etFixtures
(
$
(
"<script>"
,
{
id
:
"system-feedback-tpl"
,
type
:
"text/template"
}).
text
(
tpl
))
appendSetFixtures
(
sandbox
({
id
:
"page-notification"
}))
@
requests
=
requests
=
[]
@
xhr
=
sinon
.
useFakeXMLHttpRequest
()
...
...
cms/static/coffee/spec/views/feedback_spec.coffee
View file @
c0c5e920
tpl
=
readFixtures
(
'system-feedback.underscore'
)
beforeEach
->
appendS
etFixtures
(
sandbox
({
id
:
"page-alert"
}))
s
etFixtures
(
sandbox
({
id
:
"page-alert"
}))
appendSetFixtures
(
sandbox
({
id
:
"page-notification"
}))
appendSetFixtures
(
sandbox
({
id
:
"page-prompt"
}))
appendSetFixtures
(
$
(
"<script>"
,
{
id
:
"system-feedback-tpl"
,
type
:
"text/template"
}).
text
(
tpl
))
...
...
cms/static/coffee/spec/views/metadata_edit_spec.coffee
View file @
c0c5e920
This diff is collapsed.
Click to expand it.
cms/static/coffee/spec/views/module_edit_spec.coffee
View file @
c0c5e920
...
...
@@ -4,7 +4,7 @@ describe "CMS.Views.ModuleEdit", ->
@
stubModule
.
id
=
'stub-id'
appendS
etFixtures
"""
s
etFixtures
"""
<li class="component" id="stub-id">
<div class="component-editor">
<div class="module-editor">
...
...
cms/static/coffee/spec/views/section_spec.coffee
View file @
c0c5e920
...
...
@@ -29,7 +29,7 @@ describe "CMS.Views.SectionEdit", ->
feedback_tpl
=
readFixtures
(
'system-feedback.underscore'
)
beforeEach
->
appendS
etFixtures
(
$
(
"<script>"
,
{
id
:
"section-name-edit-tpl"
,
type
:
"text/template"
}).
text
(
tpl
))
s
etFixtures
(
$
(
"<script>"
,
{
id
:
"section-name-edit-tpl"
,
type
:
"text/template"
}).
text
(
tpl
))
appendSetFixtures
(
$
(
"<script>"
,
{
id
:
"system-feedback-tpl"
,
type
:
"text/template"
}).
text
(
feedback_tpl
))
spyOn
(
CMS
.
Views
.
SectionEdit
.
prototype
,
"switchToShowView"
)
.
andCallThrough
()
...
...
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