fixes #95 - Tester.assertSelectorExists not working
Showing
2 changed files
with
6 additions
and
1 deletions
1 | CasperJS Changelog | 1 | CasperJS Changelog |
2 | ================== | 2 | ================== |
3 | 3 | ||
4 | 2012-XX-XX, v0.6.6 | ||
5 | ------------------ | ||
6 | |||
7 | - fixed [#95](https://github.com/n1k0/casperjs/issues/95) - `Tester.assertSelectorExists` was broken | ||
8 | |||
4 | 2012-03-28, v0.6.5 | 9 | 2012-03-28, v0.6.5 |
5 | ------------------ | 10 | ------------------ |
6 | 11 | ... | ... |
... | @@ -264,7 +264,7 @@ var Tester = function(casper, options) { | ... | @@ -264,7 +264,7 @@ var Tester = function(casper, options) { |
264 | * @param String message Test description | 264 | * @param String message Test description |
265 | */ | 265 | */ |
266 | this.assertSelectorExists = function assertSelectorExists(selector, message) { | 266 | this.assertSelectorExists = function assertSelectorExists(selector, message) { |
267 | return this.assert(this.exists(selector), message); | 267 | return this.assert(casper.exists(selector), message); |
268 | }; | 268 | }; |
269 | 269 | ||
270 | /** | 270 | /** | ... | ... |
-
Please register or sign in to post a comment