From 8922a27eb3c85ed89685efa95f251cb54873235e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 12 Feb 2013 15:52:00 -0800 Subject: [PATCH] Subtract skipped count from complete and total counts --- spec/atom-reporter.coffee | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/atom-reporter.coffee b/spec/atom-reporter.coffee index 2f307b163..d2c8f6e18 100644 --- a/spec/atom-reporter.coffee +++ b/spec/atom-reporter.coffee @@ -84,8 +84,10 @@ class AtomReporter extends View if @failedCount > 0 @status.addClass('failed') unless @status.hasClass('failed') - specCount = "#{@completeSpecCount}/#{@totalSpecCount}" - specCount += " (skipping #{@skippedCount})" if @skippedCount + if @skippedCount + specCount = "#{@completeSpecCount - @skippedCount}/#{@totalSpecCount - @skippedCount} (#{@skippedCount} skipped)" + else + specCount = "#{@completeSpecCount}/#{@totalSpecCount}" @specCount.text specCount rootSuite = spec.suite