blob: 7c5b82a8f96a37dae6630be16d69e18084cadb52 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../../spec_helper'
require 'net/http'
describe "Net::HTTP#address" do
it "returns the current host name" do
net = Net::HTTP.new("localhost")
net.address.should == "localhost"
end
end
|