blob: 57a927aff0116ce041387745efa042220ff53424 (
plain)
1
2
3
4
5
6
7
8
9
|
require File.expand_path('../../../../../spec_helper', __FILE__)
require 'net/http'
describe "Net::HTTPResponse#message" do
it "returns self's response message" do
res = Net::HTTPUnknownResponse.new("1.0", "???", "test response")
res.message.should == "test response"
end
end
|