]> git.openstreetmap.org Git - rails.git/blobdiff - test/http/npemap.yml
Refactor some way_controller tests to use factories.
[rails.git] / test / http / npemap.yml
index 39c585a135a3d1e7cccd80eb5204761b98e20ee9..28074d089b093cc52d847d21e922c4570287218f 100644 (file)
@@ -1,6 +1,10 @@
-/cgi/geocoder.fcgi?format=text&postcode=CV4+7AL: |
-  # Easting,Northing,Matched Postcode,Latitude,Longitude
-  429926,276058,'CV4 7AL',52.381748701968,-1.56176420939232
+/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+9XX: |
-  Error: Postcode area 'XX' not found, postcode probably invalid
+/cgi/geocoder.fcgi?format=text&postcode=XX9%209XX:
+  code: 200
+  body: |
+    Error: Postcode area 'XX' not found, postcode probably invalid