More functional tests, this time for way_tags.

This commit is contained in:
Matt Amos 2008-10-17 11:06:58 +00:00
parent 89c677d881
commit df496b44cd
2 changed files with 86 additions and 1 deletions

View file

@ -74,7 +74,8 @@ class OldWayControllerTest < Test::Unit::TestCase
end
##
#
# look at all the versions of the way in the history and get each version from
# the versions call. check that they're the same.
def check_history_equals_versions(way_id)
get :history, :id => way_id
assert_response :success, "can't get way #{way_id} from API"