Sha256: 9f8e2c8b339343d9a2b8ada560060fed1aad426834e704ef6011755769e21c33

Contents?: true

Size: 318 Bytes

Versions: 4

Compression:

Stored size: 318 Bytes

Contents

# -*- encoding: utf-8 -*-

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

class TestCLICommandParser < Test::Unit::TestCase

  def test_initialize
    cli = Webgen::CLI::CommandParser.new
    assert_equal(:normal, cli.verbosity)
    assert_equal(Logger::WARN, cli.log_level)
    assert_equal(nil, cli.directory)
  end

end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gettalong-webgen-0.5.8.20090507 test/test_cli.rb
gettalong-webgen-0.5.9.20090620 test/test_cli.rb
gettalong-webgen-0.5.9.20090626 test/test_cli.rb
webgen-0.5.8 test/test_cli.rb