aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJulie2012-10-09 11:13:26 -0700
committerIgor Minar2013-02-07 04:09:52 -0800
commitd46fe3c23fa269dcc10249148f2af14f3db6b066 (patch)
treeb5c30f1526eeb3a51c1fc57803353c818cd41bf3 /src
parent92ca7efaa4bc4f37da3008b234e19343a1fa4207 (diff)
downloadangular.js-d46fe3c23fa269dcc10249148f2af14f3db6b066.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.js2
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));
}
});
});