Delint from a local pronto run

This commit is contained in:
Michael Ball 2021-02-24 20:53:28 -08:00
parent 27873c307b
commit 5c902e7e36
4 changed files with 7 additions and 6 deletions

View file

@ -35,6 +35,7 @@ def mock_commercial_request
end
def mock_image_request
WebMock.stub_request(:post, "https://api.cloudinary.com/v1_1/snapcon/image/destroy")
# TODO-SNAPCON: This needs to be configurable somehow.
WebMock.stub_request(:post, 'https://api.cloudinary.com/v1_1/snapcon/image/destroy')
.to_return(status: 200, body: {}.to_json, headers: {})
end