Sha256: 7450dc09c59b76bcd5ac80f79b3cb0ae6a2f8a07e6c632d5bdb6d163c3b6ef08

Contents?: true

Size: 363 Bytes

Versions: 7

Compression:

Stored size: 363 Bytes

Contents

require 'simplecov'

SimpleCov.start do
  add_filter 'spec'
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
    WebMock.reset!
  end
end

def sandbox_mode(&block)
  Paypal.sandbox!
  yield
ensure
  Paypal.sandbox = false
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ianfleeton-paypal-express-1.0.0 spec/spec_helper.rb
ianfleeton-paypal-express-0.8.7 spec/spec_helper.rb
ianfleeton-paypal-express-0.8.6 spec/spec_helper.rb
ianfleeton-paypal-express-0.8.5 spec/spec_helper.rb
ianfleeton-paypal-express-0.8.4 spec/spec_helper.rb
ianfleeton-paypal-express-0.8.3 spec/spec_helper.rb
ianfleeton-paypal-express-0.8.2 spec/spec_helper.rb