Sha256: 6641687b257659057f760fb0ace021285d1904aeeeb84297d4939efda93699a4

Contents?: true

Size: 279 Bytes

Versions: 4

Compression:

Stored size: 279 Bytes

Contents

require 'test_helper'
require 'jubilee/cli'

class TestJubileeCLI < MiniTest::Unit::TestCase
  def test_parse_options
    cli = Jubilee::CLI.new(["app.rb"])
    cli.parse_options
    assert_equal "app.rb", cli.options[:rackup]
    assert_equal 8080, cli.options[:Port]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jubilee-1.1.0-java test/jubilee/test_cli.rb
jubilee-1.1.0.rc3 test/jubilee/test_cli.rb
jubilee-1.1.0.rc2 test/jubilee/test_cli.rb
jubilee-1.1.0.rc1 test/jubilee/test_cli.rb