Sha256: 9131bd92965c92587bd93061d44ce327aa06528eb2108642d855b873655e68e1
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/unittest_helper') class TestMain < Test::Unit::TestCase def test_optparse main = Pmux::Application.new options = {} optparser = main.optparse options assert_kind_of OptionParser, optparser optparser.parse!(['--root-dir=/tmp', '--status']) ae options[:root_dir], '/tmp' assert options[:status] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pmux-0.1.1 | test/test_application.rb |
pmux-0.1.0 | test/test_application.rb |