Commit 3fe2d985 3fe2d985f8cd1f6501a1004699dc53be4a043904 by Nicolas Perriault

fixes #95 - Tester.assertSelectorExists not working

1 parent b2294ffe
CasperJS Changelog
==================
2012-XX-XX, v0.6.6
------------------
- fixed [#95](https://github.com/n1k0/casperjs/issues/95) - `Tester.assertSelectorExists` was broken
2012-03-28, v0.6.5
------------------
......
......@@ -264,7 +264,7 @@ var Tester = function(casper, options) {
* @param String message Test description
*/
this.assertSelectorExists = function assertSelectorExists(selector, message) {
return this.assert(this.exists(selector), message);
return this.assert(casper.exists(selector), message);
};
/**
......