Sha256: b3dfb15d208aafec4aedd36ab77eda56dc36a954e1104064b79878468beb3798
Contents?: true
Size: 452 Bytes
Versions: 12
Compression:
Stored size: 452 Bytes
Contents
require 'spidr/page' require 'spec_helper' shared_examples_for "Page" do it "should have a status code" do @page.code.should be_integer end it "should have a body" do @page.body.should_not be_empty end it "should provide transparent access to the response headers" do @page.content_type.should == @page.response['Content-Type'] end it "should allow content-types" do @page.content_types.should_not be_empty end end
Version data entries
12 entries across 12 versions & 2 rubygems