From: Andy Allan Date: Mon, 10 Nov 2008 11:39:10 +0000 (+0000) Subject: forgot the test change from 11866 X-Git-Tag: live~7573^2~166 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e1dde5cffc1df439f150067574331d18a3d659c3 forgot the test change from 11866 --- diff --git a/test/functional/api_controller_test.rb b/test/functional/api_controller_test.rb index 6a0c2e2ac..a8e808716 100644 --- a/test/functional/api_controller_test.rb +++ b/test/functional/api_controller_test.rb @@ -45,7 +45,7 @@ class ApiControllerTest < ActionController::TestCase 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 # This should really be more generic - assert_select "tag[k=test][v=1]" + assert_select "tag[k='test'][v='yes']" end # Should also test for the ways and relation end