add basic tests for namedetails and extratags parameters

This commit is contained in:
Sarah Hoffmann
2015-08-10 23:18:19 +02:00
parent 95a681f128
commit 058f597186
5 changed files with 94 additions and 1 deletions

View File

@@ -36,3 +36,28 @@ Feature: Reverse geocoding
| 0 | Kings Estate Drive | 84128 | us
And result 0 has attributes osm_id,osm_type
Scenario Outline: Reverse Geocoding with extratags
Given the request parameters
| extratags
| 1
When looking up <format> coordinates 48.86093,2.2978
Then result 0 has attributes extratags
Examples:
| format
| xml
| json
| jsonv2
Scenario Outline: Reverse Geocoding with namedetails
Given the request parameters
| namedetails
| 1
When looking up <format> coordinates 48.86093,2.2978
Then result 0 has attributes namedetails
Examples:
| format
| xml
| json
| jsonv2