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

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