Sha256: daad4bb35efec5788a84e7410d53e40b0334667c070c993837af7104a6037581

Contents?: true

Size: 327 Bytes

Versions: 10

Compression:

Stored size: 327 Bytes

Contents

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

module Crunchbase
  describe SearchResult do
    
    before(:all) do
      @result = Search.find('google').results[0]
    end
    
    it "should return the entity which is named" do
      @result.name.should == 'Google'
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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