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