Sha256: f64263a6a71b4d8b40132f25c9d2b14d17da48774756396e08fa6d5f7e1d8153

Contents?: true

Size: 279 Bytes

Versions: 9

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 3215, cli.options[:Port]
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jubilee-1.0.2 test/jubilee/test_cli.rb
jubilee-1.0.1 test/jubilee/test_cli.rb
jubilee-1.0.0 test/jubilee/test_cli.rb
jubilee-1.0.0.beta1 test/jubilee/test_cli.rb
jubilee-0.5.0 test/jubilee/test_cli.rb
jubilee-0.4.1 test/jubilee/test_cli.rb
jubilee-0.4.0 test/jubilee/test_cli.rb
jubilee-0.2.2 test/jubilee/test_cli.rb
jubilee-0.2.1 test/jubilee/test_cli.rb