summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net-http/http/use_ssl_spec.rb
blob: 912a62a8ba61d4948bf00b9916db50d9b404f17e (plain)
1
2
3
4
5
6
7
8
9
require_relative '../../../spec_helper'
require 'net/http'

describe "Net::HTTP#use_ssl?" do
  it "returns false" do
    http = Net::HTTP.new("localhost")
    http.use_ssl?.should be_false
  end
end