]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/old_nodes_controller_test.rb
Merge pull request #3676 from harry-wood/notes-disappear-time
[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
 
     ##