Sha256: b978cbb9779783dc40f6c97c5ff9a2255f15b190fed12f7f0f263fb3b558b4e5
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require File.expand_path(File.dirname(__FILE__) + '/googleajax_common') require 'googleajax/as_hash' describe "GoogleAjax/as_hash" do it_should_behave_like "GoogleAjax" it "returns results as a hash" do GoogleAjax.referer = "http://example.com" response = GoogleAjax::Search.web("apple", :rsz => :large) response.is_a? Hash response['cursor'].is_a? Hash end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
googleajax-0.2.0 | spec/googleajax_as_hash_spec.rb |