Skip to content
Snippets Groups Projects
Commit 6646ecea authored by Alex Reisner's avatar Alex Reisner
Browse files

Fix Ruby warnings.

parent dd0addd2
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,11 @@ 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"))
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"))
assert_match(/^http:/, g.query_url(Geocoder::Query.new("test")))
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment