Sha256: c2048de6247f1340ed1c98989d1bdb0e783f33e7e98c763fbb2836e0baba46cd
Contents?: true
Size: 495 Bytes
Versions: 22
Compression:
Stored size: 495 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) module Pod describe Command::Trunk::Me do describe 'CLAide' do it 'registers it self' do Command.parse(%w( trunk me )).should.be.instance_of Command::Trunk::Me end end it "should error if we don't have a token" do Netrc.any_instance.stubs(:[]).returns(nil) command = Command.parse(%w( trunk me )) lambda { command.validate! }.should.raise CLAide::Help end end end
Version data entries
22 entries across 22 versions & 2 rubygems