Sha256: 477c7a6fe46e0c938dd61bc0809fbf505fa5e1b5947e8eb96c10b329cdb04585
Contents?: true
Size: 679 Bytes
Versions: 4
Compression:
Stored size: 679 Bytes
Contents
require 'webmock/rspec' require File.expand_path('../../lib/stripe_event', __FILE__) Dir[File.expand_path('../spec/support/**/*.rb', __FILE__)].each { |f| require f } RSpec.configure do |config| config.order = 'random' config.expect_with :rspec do |c| c.syntax = :expect end config.before do @signing_secrets = StripeEvent.signing_secrets @event_filter = StripeEvent.event_filter @notifier = StripeEvent.backend.notifier StripeEvent.backend.notifier = @notifier.class.new end config.after do StripeEvent.signing_secrets = @signing_secrets StripeEvent.event_filter = @event_filter StripeEvent.backend.notifier = @notifier end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
stripe_event-2.11.0 | spec/spec_helper.rb |
stripe_event-2.10.0 | spec/spec_helper.rb |
stripe_event-2.9.0 | spec/spec_helper.rb |
stripe_event-2.8.0 | spec/spec_helper.rb |