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) { ...@@ -133,7 +133,7 @@ var Tester = function Tester(casper, options) {
133 message: message, 133 message: message,
134 file: this.currentTestFile, 134 file: this.currentTestFile,
135 values: { 135 values: {
136 subject: subject 136 subject: utils.getPropertyPath(context, 'values.subject') || subject
137 } 137 }
138 }, context || {})); 138 }, context || {}));
139 }; 139 };
......