Sha256: f4f50fe9fcb7175af36d8733bf672e0173b4c754f26dda1931658f8bf766fef4

Contents?: true

Size: 279 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
jubilee-0.2.0 test/jubilee/test_cli.rb
jubilee-0.1.2 test/jubilee/test_cli.rb