Sha256: 86357bea8c171d0d45cf2be5ac497d1171b45f72031a383794a4caed0edce28f
Contents?: true
Size: 543 Bytes
Versions: 3
Compression:
Stored size: 543 Bytes
Contents
require 'test_helper' require 'jubilee/cli' class TestJubileeCLI < MiniTest::Unit::TestCase def test_parse_options cli = Jubilee::CLI.new(["app.ru"]) cli.parse_options assert_equal "app.ru", cli.options[:rackup] end def test_chdir cli = Jubilee::CLI.new(["--dir", "test", "app.ru"]) cli.parse_options assert_equal "test", cli.options[:root] end def test_eventbus_prefix cli = Jubilee::CLI.new(["--eventbus", "/eb"]) cli.parse_options assert_equal "/eb", cli.options[:eventbus_prefix] end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jubilee-3.0.0.beta2-java | test/jubilee/test_cli.rb |
jubilee-2.1.0.rc1-java | test/jubilee/test_cli.rb |
jubilee-2.1.0.beta-java | test/jubilee/test_cli.rb |