blob: 4a5a162512da682dc51a4560591a1a423f7b65ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require_relative '../../../spec_helper'
require 'uri'
describe "URI::Generic#host" do
# https://hackerone.com/reports/156615
it "returns empty string when host is empty" do
URI.parse('http:////foo.com').host.should == ''
end
end
describe "URI::Generic#host=" do
it "needs to be reviewed for spec completeness"
end
|