Sha256: 26c519d2365d5488eae681753b588f0ed5092fc66337490f051e4d4e5c9d86da

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

require 'spec_helper'
require 'markdo/commands/tomorrow_command'

module Markdo
  describe TomorrowCommand do
    it 'outputs tasks due tomorrow' do
      skip 'Dir.glob not supported' unless Dir.respond_to?(:glob)

      command_support = build_command_support_for_date_commands

      TomorrowCommand.new(command_support).run

      expect(command_support.stdout.string).to eq(<<-EOF)
- [ ] @due(2016-02-29) Due tomorrow in inbox
- [ ] @due(2016-02-29) Due tomorrow
      EOF
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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