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
c628a8a3
Commit
c628a8a3
authored
May 16, 2013
by
David Baumgold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test
parent
a8431eea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cms/static/coffee/spec/models/section_spec.coffee
+3
-3
No files found.
cms/static/coffee/spec/models/section_spec.coffee
View file @
c628a8a3
...
...
@@ -44,10 +44,10 @@ describe "CMS.Models.Section", ->
@
requests
[
0
].
respond
(
200
)
expect
(
CMS
.
Models
.
Section
.
prototype
.
hideNotification
).
toHaveBeenCalled
()
it
"show/hide a notification when saving fails"
,
->
it
"don't hide notification when saving fails"
,
->
# this is handled by the global AJAX error handler
@
model
.
save
()
expect
(
CMS
.
Models
.
Section
.
prototype
.
showNotification
).
toHaveBeenCalled
()
@
requests
[
0
].
respond
(
500
)
expect
(
CMS
.
Models
.
Section
.
prototype
.
hideNotification
).
toHaveBeenCalled
()
expect
(
CMS
.
Models
.
Section
.
prototype
.
hideNotification
).
not
.
toHaveBeenCalled
()
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