Commit 703e8852 703e88526fe58690cb7f59f64ecdc40426a2a60d by Nicolas Perriault

added a Tester.assertTrue alias

1 parent 51a03f65
......@@ -85,7 +85,7 @@ var Tester = function Tester(casper, options) {
* @param Boolean subject
* @param String message Test description
*/
this.assert = function assert(subject, message) {
this.assert = this.assertTrue = function assert(subject, message) {
var status = this.options.passText, eventName;
if (subject === true) {
eventName = 'success';
......