Browse Source

escape the dots

pull/1833/head
Kat 3 years ago
parent
commit
b21f09950c
  1. 2
      spec/services/imports/scheme_location_import_service_spec.rb

2
spec/services/imports/scheme_location_import_service_spec.rb

@ -17,7 +17,7 @@ RSpec.describe Imports::SchemeLocationImportService do
end end
before do before do
WebMock.stub_request(:get, /api.postcodes.io\/postcodes\/S446EJ/) WebMock.stub_request(:get, /api\.postcodes\.io\/postcodes\/S446EJ/)
.to_return(status: 200, body: '{"status":200,"result":{"admin_district":"Westminster","codes":{"admin_district":"E08000035"}}}', headers: {}) .to_return(status: 200, body: '{"status":200,"result":{"admin_district":"Westminster","codes":{"admin_district":"E08000035"}}}', headers: {})
end end

Loading…
Cancel
Save