Commit 252dbe7f 252dbe7fc2161553af52062f718a94054cc2ac68 by Nicolas Perriault

refs #52 - taliban cosmetics

1 parent def87690
...@@ -146,7 +146,7 @@ var Tester = function(casper, options) { ...@@ -146,7 +146,7 @@ var Tester = function(casper, options) {
146 * 146 *
147 * @param Function fn A function to be evaluated in remote DOM 147 * @param Function fn A function to be evaluated in remote DOM
148 * @param String message Test description 148 * @param String message Test description
149 * @param Object context Object containing the parameters to inject into the function 149 * @param Object context Object containing the parameters to inject into the function (optional)
150 */ 150 */
151 this.assertEval = function assertEval(fn, message, context) { 151 this.assertEval = function assertEval(fn, message, context) {
152 return this.assert(casper.evaluate(fn, context), message); 152 return this.assert(casper.evaluate(fn, context), message);
...@@ -159,7 +159,7 @@ var Tester = function(casper, options) { ...@@ -159,7 +159,7 @@ var Tester = function(casper, options) {
159 * @param Function fn The function to be evaluated in remote DOM 159 * @param Function fn The function to be evaluated in remote DOM
160 * @param Boolean expected The expected value 160 * @param Boolean expected The expected value
161 * @param String message Test description 161 * @param String message Test description
162 * @param Object context Object containing the parameters to inject into the function 162 * @param Object context Object containing the parameters to inject into the function (optional)
163 */ 163 */
164 this.assertEvalEquals = function assertEvalEquals(fn, expected, message, context) { 164 this.assertEvalEquals = function assertEvalEquals(fn, expected, message, context) {
165 return this.assertEquals(casper.evaluate(fn, context), expected, message); 165 return this.assertEquals(casper.evaluate(fn, context), expected, message);
...@@ -176,7 +176,6 @@ var Tester = function(casper, options) { ...@@ -176,7 +176,6 @@ var Tester = function(casper, options) {
176 return this.assert(casper.exists(selector), message); 176 return this.assert(casper.exists(selector), message);
177 }; 177 };
178 178
179
180 /** 179 /**
181 * Asserts that current HTTP status is the one passed as argument. 180 * Asserts that current HTTP status is the one passed as argument.
182 * 181 *
......