-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
directions specs: vcr cassettes and responses
- Loading branch information
Showing
6 changed files
with
832 additions
and
0 deletions.
There are no files selected for viewing
93 changes: 93 additions & 0 deletions
93
spec/fixtures/response/directions/colosseum-colosseum.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"geocoded_waypoints": [ | ||
{ | ||
"geocoder_status": "OK", | ||
"place_id": "ChIJrRMgU7ZhLxMRxAOFkC7I8Sg", | ||
"types": [ | ||
"establishment", | ||
"point_of_interest", | ||
"tourist_attraction" | ||
] | ||
}, | ||
{ | ||
"geocoder_status": "OK", | ||
"place_id": "ChIJrRMgU7ZhLxMRxAOFkC7I8Sg", | ||
"types": [ | ||
"establishment", | ||
"point_of_interest", | ||
"tourist_attraction" | ||
] | ||
} | ||
], | ||
"routes": [ | ||
{ | ||
"bounds": { | ||
"northeast": { | ||
"lat": 41.8892732, | ||
"lng": 12.4921921 | ||
}, | ||
"southwest": { | ||
"lat": 41.8892732, | ||
"lng": 12.4921921 | ||
} | ||
}, | ||
"copyrights": "Map data ©2019 Google", | ||
"legs": [ | ||
{ | ||
"distance": { | ||
"text": "1 m", | ||
"value": 0 | ||
}, | ||
"duration": { | ||
"text": "1 min", | ||
"value": 0 | ||
}, | ||
"end_address": "Piazza del Colosseo, 1, 00184 Roma RM, Italy", | ||
"end_location": { | ||
"lat": 41.8892732, | ||
"lng": 12.4921921 | ||
}, | ||
"start_address": "Piazza del Colosseo, 1, 00184 Roma RM, Italy", | ||
"start_location": { | ||
"lat": 41.8892732, | ||
"lng": 12.4921921 | ||
}, | ||
"steps": [ | ||
{ | ||
"distance": { | ||
"text": "1 m", | ||
"value": 0 | ||
}, | ||
"duration": { | ||
"text": "1 min", | ||
"value": 0 | ||
}, | ||
"end_location": { | ||
"lat": 41.8892732, | ||
"lng": 12.4921921 | ||
}, | ||
"html_instructions": "Head on <b>Via Celio Vibenna</b>", | ||
"polyline": { | ||
"points": "}nt~Fe{fkA" | ||
}, | ||
"start_location": { | ||
"lat": 41.8892732, | ||
"lng": 12.4921921 | ||
}, | ||
"travel_mode": "DRIVING" | ||
} | ||
], | ||
"traffic_speed_entry": [], | ||
"via_waypoint": [] | ||
} | ||
], | ||
"overview_polyline": { | ||
"points": "}nt~Fe{fkA" | ||
}, | ||
"summary": "Via Celio Vibenna", | ||
"warnings": [], | ||
"waypoint_order": [] | ||
} | ||
], | ||
"status": "OK" | ||
} |
Oops, something went wrong.