summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/HTTPServerException_spec.rb
blob: 35566ab0c523ac35c9924f626b0653ea0dd59bea (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::HTTPServerException" do
  it "is a subclass of Net::ProtoServerError" do
    Net::HTTPServerException.should < Net::ProtoServerError
  end

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