Sha256: c024f7939f2afcae158010b7b804a2d385d6c5e1043b19a120b2248159d30cfa
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
if RUBY_VERSION >= '1.9' require 'cover_me' end require 'paypal' require 'rspec' require 'helpers/fake_response_helper' RSpec.configure do |config| config.before do Paypal.logger = double("logger") end config.after do FakeWeb.clean_registry end end def sandbox_mode(&block) Paypal.sandbox! yield ensure Paypal.sandbox = false end
Version data entries
10 entries across 10 versions & 1 rubygems