diff options
| author | Julie | 2012-10-09 11:13:26 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-02-07 04:10:17 -0800 | 
| commit | 9a3a9b46e5d596811d85f11be16ac805ddfdc8f1 (patch) | |
| tree | fdb16db0a4e71e5847566daaab49cf541e0bfee5 /src | |
| parent | 934204ec18898602dda329e5fd5d43a25c4bad14 (diff) | |
| download | angular.js-9a3a9b46e5d596811d85f11be16ac805ddfdc8f1.tar.bz2 | |
fix(scenario): include error messages in XML output
Fix the XML output of scenario tests so that it properly includes error
messages from failing specs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngScenario/output/Xml.js | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngScenario/output/Xml.js b/src/ngScenario/output/Xml.js index 6cd27fe7..cdd04f0c 100644 --- a/src/ngScenario/output/Xml.js +++ b/src/ngScenario/output/Xml.js @@ -43,7 +43,7 @@ angular.scenario.output('xml', function(context, runner, model) {           if (step.error) {             var error = $('<error></error>');             stepContext.append(error); -           error.text(formatException(stepContext.error)); +           error.text(formatException(step.error));           }         });       });  | 
