blob: 0984d5e6ce8c46eda6077dcf7fc473756cafe0d5 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../../spec_helper'
require 'net/http'
describe "Net::HTTP#port" do
it "returns the current port number" do
net = Net::HTTP.new("localhost", 3333)
net.port.should eql(3333)
end
end
|