Sha256: 19382f842d6132ff6e768ccc8ed347819fbf50f6fd7211644e33611cc56a06f4
Contents?: true
Size: 694 Bytes
Versions: 13
Compression:
Stored size: 694 Bytes
Contents
############################################################################## # Stripe Plugin ############################################################################## begin require 'stripe' RSpec.configure do |config| config.after(:suite, :stripe) do VCR.turn_off! if defined?(VCR) WebMock.allow_net_connect! if defined?(WebMock) Stripe::Plan.all(:count => 100).each do |plan| if plan.id.match(/test/i) || plan.name.match(/test/i) plan.delete end end Stripe::Customer.all(:count => 100).each(&:delete) VCR.turn_on! if defined?(VCR) end end rescue LoadError end
Version data entries
13 entries across 13 versions & 1 rubygems