Sha256: d7f0c7152dda1fe11a45a8ae5ea22f396dc3f91ff125c7a0ba5258e62e6e6047
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require File.expand_path(File.dirname(__FILE__) + '/googleajax_common') require 'googleajax/basic' describe "GoogleAjax (basic)" do it "returns results as an unaltered hash" do GoogleAjax.referer = "http://example.com" response = GoogleAjax::Search.web("apple", :rsz => :large) response.should be_kind_of(Hash) response['cursor'].should be_an_instance_of(Hash) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
googleajax-1.0.1 | spec/googleajax_basic_spec.rb |
googleajax-1.0.0 | spec/googleajax_basic_spec.rb |