Commit f0a8c0ae f0a8c0ae36c1219bbe650ff5bbb3f2e8f585d0e6 by Nicolas Perriault

fixed failed test messages dont't expose the subject correctly

1 parent 2683c204
......@@ -133,7 +133,7 @@ var Tester = function Tester(casper, options) {
message: message,
file: this.currentTestFile,
values: {
subject: subject
subject: utils.getPropertyPath(context, 'values.subject') || subject
}
}, context || {}));
};
......