Fixed missing junit failure output (#76)

This commit is contained in:
Brian Ng 2013-07-30 19:46:45 -05:00
parent 468c93729d
commit e89b839357

View File

@ -239,7 +239,7 @@ phantom.sendMessage = function() {
if (spec.results().failedCount) {
failures++;
var resultsItems = spec.results().items_;
for (var ii = 0; ii < resultsItems; ii++) {
for (var ii = 0; ii < resultsItems.length; ii++) {
var expectation = resultsItems[ii];
if (!expectation.passed()) {
failureMessages.push(expectation.message);