summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/HTTPError_spec.rb
blob: 5fa87f140b22374f17c900d3665be12d07b64cbd (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::HTTPError" do
  it "is a subclass of Net::ProtocolError" do
    Net::HTTPError.should < Net::ProtocolError
  end

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