Sha256: f2be82fcfb50880ccd55c41c7b774a297491b2c90126af1f42d0c1f1839e83dc
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 Bytes
Contents
require 'spec_helper' require 'markdo/commands/star_command' module Markdo describe QueryCommand do it 'outputs tasks that match the given string, case insensitive' do skip 'Dir.glob not supported' unless Dir.respond_to?(:glob) command_support = build_command_support({ 'MARKDO_ROOT' => 'spec/fixtures/query_command' }) QueryCommand.new(command_support).run('asdf') expect(command_support.stdout.string).to eq(<<-EOF) - [ ] ASDF in inbox - [ ] asdf in inbox - [ ] ASDF - [ ] asdf EOF end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
markdo-0.2.0 | spec/lib/commands/query_command_spec.rb |