module Aws::Rails::ActionMailbox::RSpec
def stub_aws_sns_subscription_request
def stub_aws_sns_subscription_request allow(Net::HTTP).to receive(:get_response).and_call_original allow(Net::HTTP) .to receive(:get_response) .with(URI('http://example.com/subscribe')) { double(code: '200') } end