aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/net/http/http/use_ssl_spec.rb
blob: 19d065ed8ec0afbeb94d607eff898685b8b6625d (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../../../spec_helper', __FILE__)
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