module Formatter::Verbose

Public Instance Methods

progress_lines() click to toggle source
Calls superclass method
# File lib/formatter/verbose.rb, line 5
def progress_lines
  label = "running: #{example_name}"
  label = label.slice(0, terminal_width - 3).concat('...') if label.size > terminal_width
  super.concat(
    [
      format("%-#{terminal_width}s", finished? ? '' : label)
    ]
  )
end