There is now one more assertion
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -14,7 +14,7 @@ function fetchUA(request) { | ... | @@ -14,7 +14,7 @@ function fetchUA(request) { |
14 | testUA(headers.pop().value, /plop/); | 14 | testUA(headers.pop().value, /plop/); |
15 | } | 15 | } |
16 | 16 | ||
17 | casper.test.begin('userAgent() tests', 2, function(test) { | 17 | casper.test.begin('userAgent() tests', 3, function(test) { |
18 | testUA(casper.options.pageSettings.userAgent, /CasperJS/); | 18 | testUA(casper.options.pageSettings.userAgent, /CasperJS/); |
19 | casper.start(); | 19 | casper.start(); |
20 | casper.userAgent('plop').once('resource.requested', fetchUA); | 20 | casper.userAgent('plop').once('resource.requested', fetchUA); | ... | ... |
-
Please register or sign in to post a comment