Sha256: 5eac1e1c1b19fe15fd57c77349d8d435b4422c4136c6de3157c119117a0d4192
Contents?: true
Size: 544 Bytes
Versions: 5
Compression:
Stored size: 544 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[:chdir] 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
5 entries across 5 versions & 1 rubygems