Commit bf7e9837 bf7e9837e68c42d12ffa5650970e9451af349714 by Oleg Pudeyev

There is now one more assertion

1 parent 4b867ea3
...@@ -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);
......