Sha256: 529b4f70c1ac75ecb21139965dfa5a3c9c806a6d5dfc0faae883b2c2453dd713
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
require 'net/http' describe "Net::HTTPGenericRequest#path" do it "returns self's request path" do request = Net::HTTPGenericRequest.new("POST", true, true, "/some/path") request.path.should == "/some/path" request = Net::HTTPGenericRequest.new("POST", true, true, "/some/other/path") request.path.should == "/some/other/path" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysl-net-http-1.0.1 | spec/httpgenericrequest/path_spec.rb |
rubysl-net-http-2.0.4 | spec/httpgenericrequest/path_spec.rb |
rubysl-net-http-1.0.0 | spec/httpgenericrequest/path_spec.rb |