Sha256: bafbb179d1e16ec991a38bcc32aa0c383854253cda962def1467d5eb087130bb

Contents?: true

Size: 235 Bytes

Versions: 8

Compression:

Stored size: 235 Bytes

Contents

require 'test/unit'
require 'ruby_cli'

class RubyCLITest < Test::Unit::TestCase
  def test_hello_world
		m = Class.new do
			include RubyCLI	

			def command()	puts "Hello World" end
		end.new(ARGV)
		assert_equal(0, m.run)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_cli-0.2.1 test/test_ruby_cli.rb
ruby_cli-0.2.0 test/test_ruby_cli.rb
ruby_cli-0.1.2 test/test_ruby_cli.rb
ruby_cli-0.1.1 test/test_ruby_cli.rb
ruby_cli-0.1.0 test/test_ruby_cli.rb
ruby_cli-0.0.4 test/test_ruby_cli.rb
ruby_cli-0.0.3 test/test_ruby_cli.rb
ruby_cli-0.0.2 test/test_ruby_cli.rb