Sha256: d451277beec4afc2505cb89cd1797bd08d56a1c97ed9f58e15f786be60656afa
Contents?: true
Size: 507 Bytes
Versions: 9
Compression:
Stored size: 507 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
9 entries across 9 versions & 1 rubygems