+
+ # we should have only two relations
+ assert_select "osm>relation", 2
+
+ # and each of them should contain the node we originally searched for
+ [ :visible_relation,
+ :used_relation ].each do |r|
+ relation_id = current_relations(r).id
+ assert_select "osm>relation#?", relation_id
+ assert_select "osm>relation#?>member[type=\"node\"][ref=#{node_id}]", relation_id