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
dc76d71c
Commit
dc76d71c
authored
May 15, 2013
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4-space indents for coffeescript
parent
fcf4cdc7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
cms/static/coffee/spec/models/feedback_spec.coffee
+0
-0
cms/static/coffee/spec/views/feedback_spec.coffee
+5
-5
No files found.
cms/static/coffee/spec/models/feedback_spec.coffee
View file @
dc76d71c
cms/static/coffee/spec/views/feedback_spec.coffee
View file @
dc76d71c
...
...
@@ -6,8 +6,8 @@ describe "CMS.Views.Alert as base class", ->
appendSetFixtures
(
$
(
"<script>"
,
{
id
:
"alert-tpl"
,
type
:
"text/template"
}).
text
(
tpl
))
@
model
=
new
CMS
.
Models
.
ConfirmationMessage
({
"title"
:
"Portal"
"message"
:
"Welcome to the Aperture Science Computer-Aided Enrichment Center"
title
:
"Portal"
message
:
"Welcome to the Aperture Science Computer-Aided Enrichment Center"
})
# it will be interesting to see when this.render is called, so lets spy on it
spyOn
(
CMS
.
Views
.
Alert
.
prototype
,
'render'
).
andCallThrough
()
...
...
@@ -42,8 +42,8 @@ describe "CMS.Views.Notification", ->
appendSetFixtures
(
$
(
"<script>"
,
{
id
:
"notification-tpl"
,
type
:
"text/template"
}).
text
(
tpl
))
@
model
=
new
CMS
.
Models
.
ConfirmationMessage
({
"title"
:
"Portal"
"message"
:
"Welcome to the Aperture Science Computer-Aided Enrichment Center"
title
:
"Portal"
message
:
"Welcome to the Aperture Science Computer-Aided Enrichment Center"
})
# for some reason, expect($("body")) blows up the test runner, so this test
...
...
@@ -62,7 +62,7 @@ describe "CMS.Views.Alert click events", ->
beforeEach
->
@
model
=
new
CMS
.
Models
.
WarningMessage
(
title
:
"Unsaved"
,
message
:
"Your content is currently u
nsaved."
,
message
:
"Your content is currently U
nsaved."
,
actions
:
primary
:
text
:
"Save"
,
...
...
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