Permalink
Browse files

Because we're using the formatters, we no longer have to manually upd…

…ate after each increment
  • Loading branch information...
1 parent 5e38e63 commit f56fae144066c89651edb69ed17812917ac20180 @jfelchner jfelchner committed Aug 4, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/cucumber/formatter/fuubar.rb
@@ -12,7 +12,7 @@ class Fuubar
def initialize(step_mother, path_or_io, options)
@step_mother, @io, @options = step_mother, ensure_io(path_or_io, "fuubar"), options
- @step_count = @finished_count = @issues_count = 0
+ @step_count = @issues_count = 0
end
def after_features(features)
@@ -88,9 +88,7 @@ def print_summary(features)
def progress(status = 'passed', count = 1)
@io.print COLORS[state]
- @finished_count += count
@progress_bar.progress += count
- @progress_bar.title = " #{@finished_count}/#{@step_count}"
@io.print "\e[0m"
end

0 comments on commit f56fae1

Please sign in to comment.