From 4d00785a63c049c3358db0fad9daf932078d8ecc Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Fri, 21 Dec 2012 17:14:11 -0500 Subject: [PATCH] Test that Bing returns empty array on invalid key. --- test/lookup_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lookup_test.rb b/test/lookup_test.rb index aa8ea2fd..416662ac 100644 --- a/test/lookup_test.rb +++ b/test/lookup_test.rb @@ -35,7 +35,7 @@ class LookupTest < Test::Unit::TestCase # keep test output clean: suppress timeout warning orig = $VERBOSE; $VERBOSE = nil #Geocoder::Lookup.all_services_except_test.each do |l| - [:yahoo, :yandex, :maxmind].each do |l| + [:bing, :yahoo, :yandex, :maxmind].each do |l| Geocoder.configure(:lookup => l) set_api_key!(l) assert_equal [], Geocoder.search("invalid key") -- GitLab