+
+ def test_node_too_far_north
+ node = current_nodes(:node_too_far_north)
+ assert !node.valid?
+ assert node.error.invalid?(:latitude)
+ end
+
+ def test_node_too_far_south
+ node = current_nodes(:node_too_far_south)
+ assert !node.valid?
+ end
+
+ def test_node_too_far_west
+ node = current_nodes(:node_too_far_west)
+ assert !node.valid?
+ end
+
+ def test_node_too_far_east
+ node = current_nodes(:node_too_far_east)
+ assert !node.valid?
+ end
+
+ def test_totally_wrong
+ node = current_nodes(:node_totally_wrong)
+ assert !node.valid?
+ end
+