Sha256: d3dbef0d65178308ac7c8e54da3be442efb50fcaff359ec54058770ce233f754

Contents?: true

Size: 481 Bytes

Versions: 10

Compression:

Stored size: 481 Bytes

Contents

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

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

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

        puts @all_offices.items.inspect
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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