forgot the test change from 11866

This commit is contained in:
Andy Allan 2008-11-10 11:39:10 +00:00
parent fc99863df9
commit e1dde5cffc

View file

@ -45,7 +45,7 @@ class ApiControllerTest < ActionController::TestCase
assert_select "bounds[minlon=#{minlon}][minlat=#{minlat}][maxlon=#{maxlon}][maxlat=#{maxlat}]", :count => 1 assert_select "bounds[minlon=#{minlon}][minlat=#{minlat}][maxlon=#{maxlon}][maxlat=#{maxlat}]", :count => 1
assert_select "node[id=#{node.id}][lat=#{node.lat}][lon=#{node.lon}][version=#{node.version}][changeset=#{node.changeset_id}][visible=#{node.visible}][timestamp=#{node.timestamp.xmlschema}]", :count => 1 do assert_select "node[id=#{node.id}][lat=#{node.lat}][lon=#{node.lon}][version=#{node.version}][changeset=#{node.changeset_id}][visible=#{node.visible}][timestamp=#{node.timestamp.xmlschema}]", :count => 1 do
# This should really be more generic # This should really be more generic
assert_select "tag[k=test][v=1]" assert_select "tag[k='test'][v='yes']"
end end
# Should also test for the ways and relation # Should also test for the ways and relation
end end