]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/old_nodes_controller_test.rb
Merge remote-tracking branch 'upstream/pull/4245'
[rails.git] / test / controllers / api / old_nodes_controller_test.rb
index 95a20923e58958d04455e785cc829cf48dda9eb2..a87f3025860729ecd1f035b1f6a16d58287bc9d0 100644 (file)
@@ -436,7 +436,7 @@ module Api
                  ("a".."z").to_a,
                  ("A".."Z").to_a,
                  ("0".."9").to_a].flatten
-      (1..16).map { |_i| letters[rand(letters.length)] }.join
+      (1..16).map { letters[rand(letters.length)] }.join
     end
 
     ##