support/external_request: only allow stripe

This commit is contained in:
Rishabh Saxena 2016-08-17 12:25:49 +05:30
parent 43ac7742a1
commit cc09dd76ba
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Mock external requests to youtube
require 'webmock/rspec'
WebMock.allow_net_connect!
WebMock.disable_net_connect!(allow_localhost: true, allow: %r{stripe.com})
RSpec.configure do |config|
config.before(:each) do