Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
18a7ae83
...
18a7ae83228262e95cedede18abd2bc11afa68a7
authored
2012-07-18 16:54:53 +0200
by
oncletom
Committed by
Nicolas Perriault
2012-10-18 09:43:57 +0200
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Adding one more test
1 parent
0644fff6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
tests/suites/casper/headers.js
tests/suites/casper/headers.js
View file @
18a7ae8
...
...
@@ -22,6 +22,7 @@ function dumpHeaders () {
casper
.
start
(
'tests/site/index.html'
,
function
thenLocalPage
()
{
this
.
test
.
assertEquals
(
casper
.
getCurrentHeader
(
'Status'
),
null
,
'No Status header on local page'
);
this
.
test
.
assertEquals
(
casper
.
getCurrentHeader
(
'Content-Language'
),
null
,
'No Content-Language on local page'
);
this
.
test
.
assert
(
casper
.
getCurrentHeaders
().
length
===
0
,
'No headers sent back'
);
});
...
...
Please
register
or
sign in
to post a comment