places marked as linked should use the address of the link origin

fixes #269
This commit is contained in:
Sarah Hoffmann
2015-05-03 17:31:14 +02:00
parent a97808afec
commit 6727c36298
2 changed files with 18 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
Feature: Reverse lookup by ID
Testing reverse geocoding via OSM ID
# see github issue #269
Scenario: Get address of linked places
Given the request parameters
| osm_type | osm_id
| N | 151421301
When sending an API call reverse
Then exactly 1 result is returned
And result addresses contain
| county | state
| Pratt County | Kansas