Sha256: 7b0f39544fdf89d39a631ebad58fc3602d8d6022e90512dd09c6125237d0feb3
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) module Quickl describe "Command::subcommand_by_name /" do specify "when called on single command names" do MiniClient.subcommand_by_name("help").should == MiniClient::Help MiniClient.subcommand_by_name("noway").should be_nil end specify "when called on complex command names" do MiniClient.subcommand_by_name("say:hello").should == MiniClient::Say::Hello end end # Command::command_name end # module Quickl
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.2.2 | spec/command/subcommand_by_name_spec.rb |
quickl-0.2.1 | spec/command/subcommand_by_name_spec.rb |