Sha256: 7d21910daabe4e9638c946e6d7473fd6ab186a5596fd0f5c80c32a8547bf6f04

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 Bytes

Contents

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

class TestTwmergeCli < Test::Unit::TestCase
  def setup
    Twmerge::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

4 entries across 4 versions & 1 rubygems

Version Path
tidtools-0.1.0 test/test_twmerge_cli.rb
tidtools-0.0.9 test/test_twmerge_cli.rb
tidtools-0.0.8 test/test_twmerge_cli.rb
tidtools-0.0.7 test/test_twmerge_cli.rb