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

Version Path
cocoapods-trunk-1.6.0 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.5.0 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.4.1 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.4.0 spec/command/trunk/me_spec.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/me_spec.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/me_spec.rb
cocoapods-trunk-1.3.1 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.3.0 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.2.0 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.1.2 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.1.1 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.1.0 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.1.0.beta.1 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.0.0 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.0.0.rc.1 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.0.0.beta.4 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.0.0.beta.3 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.0.0.beta.2 spec/command/trunk/me_spec.rb
cocoapods-trunk-1.0.0.beta.1 spec/command/trunk/me_spec.rb
cocoapods-trunk-0.6.4 spec/command/trunk/me_spec.rb