Sha256: 5ecc0bed5bda88180e44a086bc92cb2d4c8a22cb061e4560d6f9c3dd79aad629

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

require 'test_helper'
require 'markdo/summary_command'

module Markdo
  describe SummaryCommand do
    it 'outputs RSS from the input Markdown' do
      out = StringIO.new
      err = StringIO.new
      env = { 'MARKDO_ROOT' => 'test/fixtures' }

      SummaryCommand.new(out, err, env).run

      out.string.must_equal <<-XML
Overdue: 2
Star: 0
Today: 0
Tomorrow: 0
      XML
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
markdo-0.1.7 test/summary_command_test.rb
markdo-0.1.6 test/summary_command_test.rb
markdo-0.1.5 test/summary_command_test.rb