blob: 7f79eef8cf7129f64ba2a234c1b80d2a9063be56 (
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
|