Sha256: e7861df85d8155f7d12b0a3f14afd21a60a7ca95f59ad7e3739d7c8274bd71b1
Contents?: true
Size: 467 Bytes
Versions: 11
Compression:
Stored size: 467 Bytes
Contents
# encoding: utf-8 $: << File.join(File.dirname(__FILE__), "..") require 'test_helper' class HttpsTest < GeocoderTestCase def test_uses_https_for_secure_query Geocoder.configure(:use_https => true) g = Geocoder::Lookup::Google.new assert_match(/^https:/, g.query_url(Geocoder::Query.new("test"))) end def test_uses_http_by_default g = Geocoder::Lookup::Google.new assert_match(/^http:/, g.query_url(Geocoder::Query.new("test"))) end end
Version data entries
11 entries across 11 versions & 3 rubygems