summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/httpresponse/header_spec.rb
blob: a9615feda83fb571f2acb68a92e8bda5ee3118db (plain)
1
2
3
4
5
6
7
8
9
require_relative '../../../../spec_helper'
require 'net/http'

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