Sha256: 2a8b5b8b2cf4907b05c7aac9e2baf89a05dfbbd099f13fe9c3307a47fbfa5b9a
Contents?: true
Size: 269 Bytes
Versions: 2
Compression:
Stored size: 269 Bytes
Contents
require "spec_helper" describe "Hisyo.parse_options" do it "should parse options" do options = Hisyo::CLI.parse_options(%w!-n -v --root=/tmp!) options[:dryrun].should be_true options[:verbose].should be_true options[:root].should == "/tmp" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hisyo-0.1.0 | spec/cli_spec.rb |
hisyo-0.0.3 | spec/cli_spec.rb |