Sha256: 2b2c6c82817399815126d82f55a653cca45c19fe2b7e94d51c043ca4a50f0c2c

Contents?: true

Size: 543 Bytes

Versions: 1

Compression:

Stored size: 543 Bytes

Contents

require File.join(File.dirname(__FILE__), "../..", "spec_helper.rb")

module Crunchbase
  module Model

    describe PastTeam do

      before(:all) do
        begin
          @past_team = PastTeam.organization_lists("apple2")
        rescue Exception => e
          @past_team = nil
        end
      end

      it 'show past team results' do
        unless @past_team.nil?
          puts @past_team.total_items

          puts @past_team.results.collect { |p| [p.title, p.person.first_name] }.inspect
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crunchbase-ruby-library-0.0.1 spec/crunchbase/model/past_team_spec.rb