Sha256: 8171a3fd03932988963996abcee07ddce0bf986f6de0a70b213d2ded8fa465a1
Contents?: true
Size: 668 Bytes
Versions: 5
Compression:
Stored size: 668 Bytes
Contents
require 'spec_helper' require 'gscraper/gscraper' describe "GScraper" do describe "User-Agent support" do it "should have a default User-Agent string" do GScraper.user_agent.should_not be_nil end end describe "Proxy support" do it "should provide a :host key" do GScraper.proxy.has_key?(:host).should == true end it "should provide a :port key" do GScraper.proxy.has_key?(:port).should == true end it "should provide a :user key" do GScraper.proxy.has_key?(:user).should == true end it "should provide a :password key" do GScraper.proxy.has_key?(:password).should == true end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
gscraper-0.2.0 | spec/gscraper_spec.rb |
gscraper-0.2.2 | spec/gscraper_spec.rb |
gscraper-0.2.3 | spec/gscraper_spec.rb |
gscraper-0.2.1 | spec/gscraper_spec.rb |
gscraper-0.2.4 | spec/gscraper_spec.rb |