summaryrefslogtreecommitdiff
path: root/spec/ruby/library/net/http/http/use_ssl_spec.rb
blob: be1ec7fa257c5b30cf5a2ef82af61dcab6becaa3 (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