refs #891 - fixed docs for tester events
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -785,7 +785,7 @@ That will give something like this: | ... | @@ -785,7 +785,7 @@ That will give something like this: |
785 | 785 | ||
786 | .. note:: | 786 | .. note:: |
787 | 787 | ||
788 | In CasperJS 1.1, you can store test failures by recording them listening to the tester ``fail`` event:: | 788 | In CasperJS 1.1, you can recorded test failures by listening to the tester ``fail`` event:: |
789 | 789 | ||
790 | var failures = []; | 790 | var failures = []; |
791 | 791 | ||
... | @@ -832,7 +832,7 @@ That will give something like this:: | ... | @@ -832,7 +832,7 @@ That will give something like this:: |
832 | 832 | ||
833 | .. note:: | 833 | .. note:: |
834 | 834 | ||
835 | In CasperJS 1.1, you can store test successes by recording them listening to the tester ``pass`` event:: | 835 | In CasperJS 1.1, you can recorded test successes by listening to the tester ``success`` event:: |
836 | 836 | ||
837 | var successes = []; | 837 | var successes = []; |
838 | 838 | ... | ... |
-
Please register or sign in to post a comment