Sha256: 14c54b5278ad1ff55836131dcbceab45aa621bb778eeba3ecf6745adafee3643

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

require File.join(File.dirname(__FILE__), "test_helper.rb")
require 'tidgrep/cli'

class TestTidgrepCli < Test::Unit::TestCase
  def setup
    Tidgrep::CLI.execute(@stdout_io = StringIO.new, [])
    @stdout_io.rewind
    @stdout = @stdout_io.read
  end
  
  def test_print_default_output
    assert_match(/To update this executable/, @stdout)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tidtools-0.0.1 test/test_tidgrep_cli.rb