Skip to content

Instantly share code, notes, and snippets.

@jordangraft
Created April 24, 2016 19:39
config.before do
WebMock.disable_net_connect!(allow_localhost: true)
stub_request(:get, "https://my-email-bucket.s3.amazonaws.com/test")
.to_return(status: 200, body: File.read('spec/support/lambda_email'))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment