Sha256: 644bde6773e821792122602526eab4dea1a4d88a2eefcfeab5c75c1367849f46

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

require 'spec_helper'
require 'markdo/commands/forecast_command'

module Markdo
  describe ForecastCommand do
    it 'outputs forecast counts' do
      skip 'Dir.glob not supported' unless Dir.respond_to?(:glob)

      command_support = build_command_support_for_date_commands

      ForecastCommand.new(command_support).run

      expect(command_support.stdout.string).to eq(<<-XML)
Tu: 0
We: 0
Th: 0
Fr: 0
Sa: 0
Su: 2
Next: 4
      XML
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdo-0.2.0 spec/lib/commands/forecast_command_spec.rb