aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/net/http/HTTPFatalError_spec.rb
blob: 72468faf8d229f02b70e5077106f55d4e4e12943 (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::HTTPFatalError" do
  it "is a subclass of Net::ProtoFatalError" do
    Net::HTTPFatalError.should < Net::ProtoFatalError
  end

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