Sha256: 01a06011cd9ee8d09b6931e0f9e24e6bbd396ca335872ec63f7dadccea90bb1e

Contents?: true

Size: 537 Bytes

Versions: 3

Compression:

Stored size: 537 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)
module Quickl
  describe "Command::command_name /" do
    
    it "should be installed from inline rdoc" do
      MiniClient::Say::Hello.command_name.should == "hello"
      MiniClient::Say::Goodbye.command_name.should == "goodbye"
    end
    
    it "should be accessible on instance" do
      MiniClient::Say::Hello.new.command_name.should == "hello"
      MiniClient::Say::Goodbye.new.command_name.should == "goodbye"
    end

  end # Command::command_name
end # module Quickl

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quickl-0.2.2 spec/command/command_name_spec.rb
quickl-0.2.1 spec/command/command_name_spec.rb
quickl-0.1.1 test/command/command_name.spec