Sha256: 856445a0914de12088a3c5c07e970868e59083adde6a04b98f469f21d9b95cb9

Contents?: true

Size: 349 Bytes

Versions: 7

Compression:

Stored size: 349 Bytes

Contents

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

class TestTwgrepCli < Test::Unit::TestCase
  def setup
    Twgrep::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

7 entries across 7 versions & 1 rubygems

Version Path
tidtools-0.1.0 test/test_twgrep_cli.rb
tidtools-0.0.9 test/test_twgrep_cli.rb
tidtools-0.0.8 test/test_twgrep_cli.rb
tidtools-0.0.7 test/test_twgrep_cli.rb
tidtools-0.0.6 test/test_twgrep_cli.rb
tidtools-0.0.5 test/test_twgrep_cli.rb
tidtools-0.0.4 test/test_twgrep_cli.rb