aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/net/http/httpresponse/read_header_spec.rb
blob: 6bbabdfe10952d1f80f6b199f45285fb1398b479 (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../../../spec_helper', __FILE__)
require 'net/http'

describe "Net::HTTPResponse#read_header" do
  it "returns self" do
    res = Net::HTTPUnknownResponse.new("1.0", "???", "test response")
    res.response.should equal(res)
  end
end