X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/03cde71a5ee0fcbf4aa07c94bc973f5ab2a90292..b0288b83bb437bbfc0deb325cca142066dc9848b:/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