update test.success event
* fix casper.test.on.pass to casper.test.on.success * fixes #890
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -836,7 +836,7 @@ That will give something like this:: | ... | @@ -836,7 +836,7 @@ That will give something like this:: |
836 | 836 | ||
837 | var successes = []; | 837 | var successes = []; |
838 | 838 | ||
839 | casper.test.on("pass", function(success) { | 839 | casper.test.on("success", function(success) { |
840 | successes.push(success); | 840 | successes.push(success); |
841 | }); | 841 | }); |
842 | 842 | ... | ... |
-
Please register or sign in to post a comment