Sha256: 5cdd5eb77a0acde39b8f5016f0843c743c5ea6a66d52ad7a96db4a4be7094506

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

require 'cucumber/configuration'
require 'cucumber/formatter/console_counts'

module Cucumber
  module Formatter
    describe ConsoleCounts do
      it 'works for zero' do
        config = Configuration.new
        counts = ConsoleCounts.new(config)
        expect(counts.to_s).to eq "0 scenarios\n0 steps"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-3.0.1 spec/cucumber/formatter/console_counts_spec.rb
cucumber-3.0.0 spec/cucumber/formatter/console_counts_spec.rb
cucumber-3.0.0.pre.2 spec/cucumber/formatter/console_counts_spec.rb