Sha256: bdc620bd0341ec4daa18103ebef4f70e014307dc207f924196bd0f506b5de7db

Contents?: true

Size: 516 Bytes

Versions: 10

Compression:

Stored size: 516 Bytes

Contents

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

module Crunchbase
  describe Investment do
    
    describe "advanced indexing" do
      before(:all) do
        @all_investments = Investment.lists_for_permalink("facebook")
      end

      it "should pull from web api" do
        @all_investments.per_page.should == 1000
        @all_investments.current_page.should == 1
        @all_investments.size.should == 3
        @all_investments.items.count.should == 3
      end
    end
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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