Sha256: 2993ea79192e93b05f0930c9312561920f3ecbe6746cd660d0e451cba91e5d7c
Contents?: true
Size: 654 Bytes
Versions: 5
Compression:
Stored size: 654 Bytes
Contents
require 'spec_helper' module Quickl describe "Command::subcommands /" do it "should return installed commands in an array" do MiniClient.subcommands.should eq([ MiniClient::Help, MiniClient::Say, MiniClient::Requester, ]) MiniClient::Say.subcommands.should eq([ MiniClient::Say::Hello, MiniClient::Say::Goodbye, MiniClient::Say::Args ]) end it "should take care of the command_parent= in command builder" do MiniClient::Requester.subcommands.should eq([ MiniClient::Factored ]) end end # Command::subcommand end # module Quickl
Version data entries
5 entries across 5 versions & 1 rubygems