Fixed declaration of Tester.assertSelectorExists()
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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", | ... | ... |
-
Please register or sign in to post a comment