Sha256: ee76c61f8c4b06b92cc63371c37979a383a834abd557d873c97cd0ba6b1e7cd1
Contents?: true
Size: 555 Bytes
Versions: 49
Compression:
Stored size: 555 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) require 'uri' describe "URI::HTTP.request_uri" do it "returns a string of the path + query" do URI("http://reddit.com/r/ruby/").request_uri.should == "/r/ruby/" URI("http://reddit.com/r/ruby/search?q=rubinius").request_uri.should == "/r/ruby/search?q=rubinius" end it "returns '/' if the path of the URI is blank" do URI("http://ruby.reddit.com").request_uri.should == "/" end end describe "URI::HTTP#request_uri" do it "needs to be reviewed for spec completeness" end
Version data entries
49 entries across 49 versions & 2 rubygems