Sha256: 9c1047f207d8e5bd2b6829575b30373ef16f76707d40e442be78842df3062b7a
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) module Quickl describe "Command::subcommands /" do it "should return installed commands in an array" do MiniClient.subcommands.should == [ MiniClient::Help, MiniClient::Say, MiniClient::Requester, ] MiniClient::Say.subcommands.should == [ MiniClient::Say::Hello, MiniClient::Say::Goodbye, ] end it "should take care of the command_parent= in command builder" do MiniClient::Requester.subcommands.should == [ MiniClient::Factored ] end end # Command::subcommand end # module Quickl
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quickl-0.2.2 | spec/command/subcommands_spec.rb |
quickl-0.2.1 | spec/command/subcommands_spec.rb |