X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/35be1120925e43b6c2aaf470a13aebae25cddb51..c9893e186b32bfd8e8ee8f00e78258387f4aac9c:/test/controllers/old_node_controller_test.rb diff --git a/test/controllers/old_node_controller_test.rb b/test/controllers/old_node_controller_test.rb index 226662c18..067f6599c 100644 --- a/test/controllers/old_node_controller_test.rb +++ b/test/controllers/old_node_controller_test.rb @@ -51,7 +51,7 @@ class OldNodeControllerTest < ActionController::TestCase # randomly move the node about 20.times do # move the node somewhere else - xml_node["lat"] = precision(rand * 180 - 90).to_s + xml_node["lat"] = precision(rand * 180 - 90).to_s xml_node["lon"] = precision(rand * 360 - 180).to_s with_controller(NodeController.new) do content xml_doc @@ -100,7 +100,7 @@ class OldNodeControllerTest < ActionController::TestCase # randomly move the node about 20.times do # move the node somewhere else - xml_node["lat"] = precision(rand * 180 - 90).to_s + xml_node["lat"] = precision(rand * 180 - 90).to_s xml_node["lon"] = precision(rand * 360 - 180).to_s with_controller(NodeController.new) do content xml_doc