Sha256: 2c322c68a7fb4309d5de8257e22a4e9a9c0245ddbf64aa292f7d736066a34725

Contents?: true

Size: 439 Bytes

Versions: 5

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'stringio'
require 'rainbow_verbose_formatter'

describe RainbowVerboseFormatter do
  before(:all) do
    @output = StringIO.new
    @formatter = described_class.new(@output)
  end

  before(:each) do
    @formatter.start(1)
  end

  it 'displays "running" line with name of test on the last line' do
    expect(@formatter.progress_lines.last).to include('running: ')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rainbow_formatter-0.2.0 spec/rainbow_verbose_formatter_spec.rb
rainbow_formatter-0.1.9 spec/rainbow_verbose_formatter_spec.rb
rainbow_formatter-0.1.8 spec/rainbow_verbose_formatter_spec.rb
rainbow_formatter-0.1.7 spec/rainbow_verbose_formatter_spec.rb
rainbow_formatter-0.1.5 spec/rainbow_verbose_formatter_spec.rb