This involves a small amount of changing the fixtures since we're using the regexp and not the full url matching powers of webmock.
10 lines
335 B
YAML
10 lines
335 B
YAML
/cgi/geocoder.fcgi?format=text&postcode=CV4%207AL:
|
|
code: 200
|
|
body: |
|
|
# Easting,Northing,Matched Postcode,Latitude,Longitude
|
|
429926,276058,'CV4 7AL',52.381748701968,-1.56176420939232
|
|
|
|
/cgi/geocoder.fcgi?format=text&postcode=XX9%209XX:
|
|
code: 200
|
|
body: |
|
|
Error: Postcode area 'XX' not found, postcode probably invalid
|