X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11e97b3edb057f6f449209ca2afd169feda229a4..87ea9fcb021b9b67a79d35cb719a064a34a7784d:/test/controllers/geocoder_controller_test.rb diff --git a/test/controllers/geocoder_controller_test.rb b/test/controllers/geocoder_controller_test.rb index a7541c075..d0f0ce086 100644 --- a/test/controllers/geocoder_controller_test.rb +++ b/test/controllers/geocoder_controller_test.rb @@ -479,7 +479,7 @@ class GeocoderControllerTest < ActionDispatch::IntegrationTest assert_select "li.search_results_entry", results.count results.each do |result| - attrs = result.collect { |k, v| "[data-#{k}='#{v}']" }.join("") + attrs = result.collect { |k, v| "[data-#{k}='#{v}']" }.join assert_select "li.search_results_entry a.set_position#{attrs}", result[:name] end end