# 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
# 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
check_not_found_id_version(70000, 312344)
check_not_found_id_version(-1, -13)
check_not_found_id_version(nodes(:visible_node).id, 24354)
- check_not_found_id_version(24356, nodes(:visible_node).version)
+ check_not_found_id_version(24356, nodes(:visible_node).version)
end
def check_not_found_id_version(id, version)