Sha256: bed95abc832ca1841264a942b0ec1b44678a1621252667c39f7973c758e46365
Contents?: true
Size: 438 Bytes
Versions: 6
Compression:
Stored size: 438 Bytes
Contents
require 'spec_helper' module Anemone describe HTTP do describe "fetch_page" do before(:each) do FakeWeb.clean_registry end it "should still return a Page if an exception occurs during the HTTP connection" do HTTP.stub!(:refresh_connection).and_raise(StandardError) http = Anemone::HTTP.new http.fetch_page(SPEC_DOMAIN).should be_an_instance_of(Page) end end end end
Version data entries
6 entries across 6 versions & 2 rubygems