test/https_test.rb in geocoder-1.1.5 vs test/https_test.rb in geocoder-1.1.6

- old
+ new

@@ -2,15 +2,15 @@ require 'test_helper' class HttpsTest < Test::Unit::TestCase def test_uses_https_for_secure_query - Geocoder::Configuration.use_https = true + Geocoder.configure(:use_https => true) g = Geocoder::Lookup::Google.new - assert_match /^https:/, g.send(:query_url, Geocoder::Query.new("test")) + 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.send(:query_url, Geocoder::Query.new("test")) + assert_match /^http:/, g.query_url(Geocoder::Query.new("test")) end end