summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/HTTPError_spec.rb
blob: ab5f491bb7fc4577cde50384e02a6ccb30c67178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require_relative '../../../spec_helper'
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