+ def test_redacted_node
+ get :node, :id => current_nodes(:redacted_node).id
+ assert_response :success
+ assert_template "feature"
+
+ # check that we don't show lat/lon for a redacted node.
+ assert_select ".browse-section", 1
+ assert_select ".browse-section.browse-node", 1
+ assert_select ".browse-section.browse-node .latitude", 0
+ assert_select ".browse-section.browse-node .longitude", 0
+ end
+