Sha256: 517f5cb185a9d82d115fd378e1aa1c6eaacc248f5e129092308f0954a1b3b682

Contents?: true

Size: 555 Bytes

Versions: 22

Compression:

Stored size: 555 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)

module Pod
  describe Command::Trunk do
    describe 'CLAide' do
      it 'registers it self' do
        Command.parse(%w( trunk        )).should.be.instance_of Command::Trunk
      end
    end

    before do
      @command = Command.parse(%w(trunk))
    end

    describe 'authorization' do
      it 'will use the trunk token from ENV if present' do
        ENV.stubs(:[]).with('COCOAPODS_TRUNK_TOKEN').returns('token')

        @command.send(:token).should == 'token'
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

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