Sha256: 57e7b74807053c46518f681058a0f5c2ac08b0900a8975aa24340655aaae95f0
Contents?: true
Size: 484 Bytes
Versions: 5
Compression:
Stored size: 484 Bytes
Contents
require 'spec_helper' module Quickl describe "Command::subcommand_by_name /" do specify "when called on single command names" do MiniClient.subcommand_by_name("help").should eq(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 eq(MiniClient::Say::Hello) end end # Command::command_name end # module Quickl
Version data entries
5 entries across 5 versions & 1 rubygems