Sha256: e32e153b259a3a40072a27b99551677f91e811dcb3738c1508b791b21a225e3a

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

require 'spec_helper'
require 'markdo/commands/today_command'

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

      command_support = build_command_support_for_date_commands

      TodayCommand.new(command_support).run

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

Version data entries

1 entries across 1 versions & 1 rubygems

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