Sha256: cc0e10a5cb0afe42f1b76cd55f0ac704675252cb0cd6459c3221b25b82539ddf

Contents?: true

Size: 590 Bytes

Versions: 10

Compression:

Stored size: 590 Bytes

Contents

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

module Crunchbase
  describe Person do
    describe "advanced indexing" do
      before(:all) do
        @all_person = Person.list
      end

      it "should pull from web api" do
        @all_person.per_page.should == 1000
        @all_person.current_page.should == 1
        puts @all_person.results[0..10].inspect
      end
    end

    # it "should pull from web api" do
    #   person = Crunchbase::Person.get('eduardo-saverin')
    #   person.permalink.should == 'eduardo-saverin'
    # end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
crunchbase_v2-1.0.0 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.9 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.8 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.7 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.6 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.5 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.4 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.3 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.2 spec/crunchbase/person_spec.rb
crunchbase_v2-0.0.1 spec/crunchbase/person_spec.rb