aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/net/http/HTTPRetriableError_spec.rb
blob: 71f6bdb196152c780ea79ee3da37c5da44efcce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path('../../../../spec_helper', __FILE__)
require 'net/http'

describe "Net::HTTPRetriableError" do
  it "is a subclass of Net::ProtoRetriableError" do
    Net::HTTPRetriableError.should < Net::ProtoRetriableError
  end

  it "includes the Net::HTTPExceptions module" do
    Net::HTTPRetriableError.should < Net::HTTPExceptions
  end
end