Sha256: 084f83d85a977bdd007a2cd6d4ce9cf50efe6ac123067b95e97f17a036b57a03

Contents?: true

Size: 199 Bytes

Versions: 3

Compression:

Stored size: 199 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubysl-net-http-1.0.1 spec/httpresponse/response_spec.rb
rubysl-net-http-2.0.4 spec/httpresponse/response_spec.rb
rubysl-net-http-1.0.0 spec/httpresponse/response_spec.rb