diff --git a/test/result_test.rb b/test/result_test.rb
index a823d1271128354502f9e9777342d3872e44b066..4707b62a85d19a14ab19e7462bf2ac1637b3a544 100644
--- a/test/result_test.rb
+++ b/test/result_test.rb
@@ -44,8 +44,7 @@ class ResultTest < Test::Unit::TestCase
     assert_nothing_raised do
       Geocoder.configure(:lookup => :yandex)
       set_api_key!(:yandex)
-      house_selector = Proc.new{|i| i.data['GeoObject']['metaDataProperty']['GeocoderMetaData']['kind'] == 'house'}
-      result = Geocoder.search("canada rue dupuis 14").select(&house_selector).last
+      result = Geocoder.search("canada rue dupuis 14")[6]
       assert_equal "", result.city
     end
   end