Commit 3fe2d985 3fe2d985f8cd1f6501a1004699dc53be4a043904 by Nicolas Perriault

fixes #95 - Tester.assertSelectorExists not working

1 parent b2294ffe
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 /**
......