]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/geocoder_controller_test.rb
Replace to_s on TimeWithZone objects with to_formatted_s
[rails.git] / test / controllers / geocoder_controller_test.rb
index a7541c0759aa03db4a23754af12fc59f1f4840e3..d0f0ce086ef4fe4b93988057e43c761ab335c81e 100644 (file)
@@ -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