fixed failed test messages dont't expose the subject correctly
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | }; | ... | ... |
-
Please register or sign in to post a comment