Sha256: 2854b3cf03c29aaf5732b7f39b63b10edddee6de16f45b496de86d0f7f591c20

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

require 'net/http'

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

Version data entries

3 entries across 3 versions & 1 rubygems

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