Sha256: ee617554210685801613ed6af442c9cc5519a365c72376359f4d48a5a0fd437d

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require 'test/unit'
require 'webgen/cli'

class TestCLICommandParser < Test::Unit::TestCase

  def test_initialize
    cli = Webgen::CLI::CommandParser.new
    assert_equal('render', cli.main_command.default_command)
    assert_equal(:normal, cli.verbosity)
    assert_equal(Logger::WARN, cli.log_level)
    assert_equal(Dir.pwd, cli.directory)
  end

end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
gettalong-webgen-0.5.6.20081020 test/test_cli.rb
webgen-0.5.6 test/test_cli.rb