Commit 15b191c3 15b191c361e7920ca765ba3887d9be9a1f9abfc5 by Victor Yap

Fixed declaration of Tester.assertSelectorExists()

1 parent b77648b2
...@@ -267,7 +267,7 @@ Tester.prototype.assertField = function assertField(inputName, expected, messag ...@@ -267,7 +267,7 @@ Tester.prototype.assertField = function assertField(inputName, expected, messag
267 * @param String message Test description 267 * @param String message Test description
268 * @return Object An assertion result object 268 * @return Object An assertion result object
269 */ 269 */
270 Tester.prototype.assertExists = Tester.prototype.assertExist = this.assertSelectorExists = Tester.prototype.assertSelectorExist = function assertExists(selector, message) { 270 Tester.prototype.assertExists = Tester.prototype.assertExist = Tester.prototype.assertSelectorExists = Tester.prototype.assertSelectorExist = function assertExists(selector, message) {
271 "use strict"; 271 "use strict";
272 return this.assert(this.casper.exists(selector), message, { 272 return this.assert(this.casper.exists(selector), message, {
273 type: "assertExists", 273 type: "assertExists",
......