From 9a3a9b46e5d596811d85f11be16ac805ddfdc8f1 Mon Sep 17 00:00:00 2001 From: Julie Date: Tue, 9 Oct 2012 11:13:26 -0700 Subject: 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. --- src/ngScenario/output/Xml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 = $(''); stepContext.append(error); - error.text(formatException(stepContext.error)); + error.text(formatException(step.error)); } }); }); -- cgit v1.2.3