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
094ed5ca
...
094ed5ca0d35523fdb6121423ec67ab8fea5287f
authored
2012-07-19 14:32:52 +0200
by
oncletom
Committed by
Nicolas Perriault
2012-10-18 09:43:58 +0200
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Testing back in currentResponse
1 parent
eec543cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
tests/suites/casper/headers.js
tests/suites/casper/headers.js
View file @
094ed5c
...
...
@@ -32,6 +32,12 @@ casper.thenOpen('http://localhost:8090/', function thenLocalhost (response) {
this
.
test
.
assertEquals
(
headers
.
get
(
'X-Is-Troll'
),
null
,
'Checking unexisting header'
);
});
casper
.
back
();
casper
.
then
(
function
(
response
){
this
.
test
.
assertEquals
(
response
,
undefined
,
'Response should match the one of the previous step'
);
});
casper
.
run
(
function
()
{
server
.
close
();
this
.
test
.
done
();
...
...
Please
register
or
sign in
to post a comment