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
bf7e9837
...
bf7e9837e68c42d12ffa5650970e9451af349714
authored
2013-02-18 04:24:32 -0500
by
Oleg Pudeyev
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
There is now one more assertion
1 parent
4b867ea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
tests/suites/casper/agent.js
tests/suites/casper/agent.js
View file @
bf7e983
...
...
@@ -14,7 +14,7 @@ function fetchUA(request) {
testUA
(
headers
.
pop
().
value
,
/plop/
);
}
casper
.
test
.
begin
(
'userAgent() tests'
,
2
,
function
(
test
)
{
casper
.
test
.
begin
(
'userAgent() tests'
,
3
,
function
(
test
)
{
testUA
(
casper
.
options
.
pageSettings
.
userAgent
,
/CasperJS/
);
casper
.
start
();
casper
.
userAgent
(
'plop'
).
once
(
'resource.requested'
,
fetchUA
);
...
...
Please
register
or
sign in
to post a comment