app/assets/javascripts/swat/app/controllers/summary.coffee in sw2at-ui-0.0.10 vs app/assets/javascripts/swat/app/controllers/summary.coffee in sw2at-ui-0.0.11

- old
+ new

@@ -38,12 +38,10 @@ window.Swat.log(result) $scope.summary.exceptions = result $scope.initFailsStatsGraph = -> $scope.failsStats = new FailsGraph($scope.tests, $scope.summary.fails) - return - $scope.failsStats =1 $scope.initMetrics = -> result = [] totalTests = $scope.tests.length totalFailedTests = $scope.summary.fails.length @@ -64,9 +62,12 @@ result.push({ name: 'Total Threads Duration', value: SwatHelpers.formatTime(totalThreadDuration) }) result.push({ name: 'Success Percentage', value: (successPercentage.toFixed(2)+'%') }) $scope.summary.metrics = result + + $scope.isSpecTraceLine = (line)-> + _.include(line, 'spec') $scope.init()