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

Version Path
paypal-express-0.5.5 spec/spec_helper.rb
paypal-express-0.5.4 spec/spec_helper.rb
paypal-express-0.5.3 spec/spec_helper.rb
paypal-express-0.5.2 spec/spec_helper.rb
paypal-express-0.5.1 spec/spec_helper.rb
paypal-express-0.5.0 spec/spec_helper.rb
paypal-express-0.4.7 spec/spec_helper.rb
paypal-express-0.5.0.alpha spec/spec_helper.rb
paypal-express-0.4.6 spec/spec_helper.rb
paypal-express-0.4.5 spec/spec_helper.rb