Browse Source

Add deleted statement

pull/288/head
Stéphane Meny 3 years ago
parent
commit
c1263c9c61
No known key found for this signature in database
GPG Key ID: 9D0AFEA988527923
  1. 1
      spec/request_helper.rb

1
spec/request_helper.rb

@ -2,6 +2,7 @@ require "webmock/rspec"
module RequestHelper
def self.stub_http_requests
WebMock.disable_net_connect!(allow_localhost: true)
WebMock.stub_request(:get, /api.postcodes.io/)
.to_return(status: 200, body: "{\"status\":404,\"error\":\"Postcode not found\"}", headers: {})
WebMock.stub_request(:post, /api.notifications.service.gov.uk\/v2\/notifications\/email/)

Loading…
Cancel
Save