Sha256: dc706a610bc8e2c4fc4a308e957a9b1e23749bace31b3b78174e4c5aec6ec5cd
Contents?: true
Size: 464 Bytes
Versions: 49
Compression:
Stored size: 464 Bytes
Contents
require File.expand_path('../../../../../spec_helper', __FILE__) require 'net/http' describe "Net::HTTPResponse#initialize when passed http_version, response_code, response_message" do it "sets self http_version, response_code and response_message to the passed values" do res = Net::HTTPUnknownResponse.new("1.0", "???", "test response") res.http_version.should == "1.0" res.code.should == "???" res.message.should == "test response" end end
Version data entries
49 entries across 49 versions & 2 rubygems