test/https_test.rb in geocoder-1.0.2 vs test/https_test.rb in geocoder-1.0.3
- old
+ new
@@ -1,13 +1,9 @@
# encoding: utf-8
require 'test_helper'
class HttpsTest < Test::Unit::TestCase
- def setup
- Geocoder::Configuration.set_defaults
- end
-
def test_uses_https_for_secure_query
Geocoder::Configuration.use_https = true
g = Geocoder::Lookup::Google.new
assert_match /^https:/, g.send(:query_url, {:a => 1, :b => 2})
end