Sha256: 7bff73fd46dd00b0a0ebb458332ba4e759f6e456220abc3d9d83a35fc81d838f

Contents?: true

Size: 353 Bytes

Versions: 9

Compression:

Stored size: 353 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

9 entries across 9 versions & 1 rubygems

Version Path
tidtools-0.1.0 test/test_tidgrep_cli.rb
tidtools-0.0.9 test/test_tidgrep_cli.rb
tidtools-0.0.8 test/test_tidgrep_cli.rb
tidtools-0.0.7 test/test_tidgrep_cli.rb
tidtools-0.0.6 test/test_tidgrep_cli.rb
tidtools-0.0.5 test/test_tidgrep_cli.rb
tidtools-0.0.4 test/test_tidgrep_cli.rb
tidtools-0.0.3 test/test_tidgrep_cli.rb
tidtools-0.0.2 test/test_tidgrep_cli.rb