Sha256: 767169415b551ca0c96f2ceec5809882bdc00548c8fc2d9771520143f24240df
Contents?: true
Size: 700 Bytes
Versions: 13
Compression:
Stored size: 700 Bytes
Contents
############################################################################## # Stripe Plugin ############################################################################## begin require 'stripe' RSpec.configure do |config| config.after(:all, :stripe => true) 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