update foot profile, add tests for access, barriers, ferries, names, surface, more

This commit is contained in:
Emil Tin
2013-09-08 22:51:44 +02:00
parent 01097f7225
commit 0f94fb9d6d
10 changed files with 567 additions and 148 deletions
+1 -5
View File
@@ -26,11 +26,7 @@ Then /^routability should be$/ do |table|
if got[direction].empty? == false
route = way_list json['route_instructions']
if route != "w#{i}"
if row[direction].empty? == true
got[direction] = want
else
got[direction] = "testing w#{i}, but got #{route}!?"
end
got[direction] = ''
elsif want =~ /^\d+s/
time = json['route_summary']['total_time']
got[direction] = "#{time}s"