diff --git a/test/result_test.rb b/test/result_test.rb
index a62a9e38dc2418ffeaab4ce746eb97e266f89302..0e248e56df9d8fc361e34ff1f8bdd42216c32b0a 100644
--- a/test/result_test.rb
+++ b/test/result_test.rb
@@ -12,11 +12,13 @@ class ResultTest < Test::Unit::TestCase
     end
   end
 
-  def test_yandex_result_without_city_has_not_raises_exception
-    Geocoder.configure(:lookup => :yandex)
-    set_api_key!(:yandex)
-    result = Geocoder.search([45.423733, -75.676333]).first
-    assert result.city, ""
+  def test_yandex_result_without_city_does_not_raise_exception
+    assert_nothing_raised do
+      Geocoder.configure(:lookup => :yandex)
+      set_api_key!(:yandex)
+      result = Geocoder.search("no city and town").first
+      assert_equal "", result.city
+    end
   end