Sha256: 0792ad24228ff6ba28ce527330ef1d5bc62fe197a834d052b87bd68ec169ad10

Contents?: true

Size: 369 Bytes

Versions: 10

Compression:

Stored size: 369 Bytes

Contents

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

module Crunchbase
  describe Search do
    
    it "should retrieve search results" do
      s = Search.search('google')
      puts s.total_items
      puts s.per_page
      puts s.pages
      puts s.current_page
      s.results.each { |result| puts result.name }
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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