Sha256: 3b6a463925b753ed72341bb54aac9a7aa56b3644e02bb3be45b962c3e124ed9a

Contents?: true

Size: 458 Bytes

Versions: 1

Compression:

Stored size: 458 Bytes

Contents

require 'spec_helper'
require 'markdo/commands/star_command'

module Markdo
  describe StarCommand do
    it 'outputs tasks with the @star tag' do
      skip 'Dir.glob not supported' unless Dir.respond_to?(:glob)

      command_support = build_command_support_for_date_commands

      StarCommand.new(command_support).run

      expect(command_support.stdout.string).to eq(<<-EOF)
- [ ] @star Starred in inbox
- [ ] @star Starred
      EOF
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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