run stripe feature test only if key is set
This commit is contained in:
parent
cc09dd76ba
commit
4152cb242c
2 changed files with 31 additions and 27 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Mock external requests to youtube
|
||||
require 'webmock/rspec'
|
||||
WebMock.disable_net_connect!(allow_localhost: true, allow: %r{stripe.com})
|
||||
WebMock.disable_net_connect!(allow_localhost: true, allow: /stripe.com/)
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.before(:each) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue