Sha256: 4f3c559a0933da34a8c96142ee5015a85db7b2646180fb9a6ef513893b7610b3
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require File.expand_path(File.dirname(__FILE__) + '/googleajax_common') require 'googleajax' describe "GoogleAjax (standard)" do it_should_behave_like "GoogleAjax" it "returns results as an OpenStuct" do GoogleAjax.referer = "http://example.com" response = GoogleAjax::Search.web("apple", :rsz => :large) response.is_a? OpenStruct response.cursor.is_a? OpenStruct end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
googleajax-0.2.0 | spec/googleajax_spec.rb |