Sha256: fe350ac265ce9549e7385bbbc5cb2fc1c3bb5c765dcebb96751b4398057fbe91
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 Bytes
Contents
require "bundler" Bundler.setup(:default, :development) Bundler.require require "paypal-payment" require "vcr" require "webmock/rspec" VCR.configure do |config| config.cassette_library_dir = File.dirname(__FILE__) + "/fixtures" config.hook_into :webmock config.default_cassette_options = { :serialize_with => :syck } end RSpec.configure do |config| config.extend VCR::RSpec::Macros config.before do PayPal::Api.configure do |config| config.sandbox = true config.username = "chardy_api1.gmail.com" config.password = "8DTSWBZC7GDR3T4X" config.signature = "AG-8mOpuFhFyFOYHlaTUYn3Syf15AWJKRnfHMVsmCtC3DK51-ENEPqLS" config.seller_id = "GCK9DAQBWTUHQ" config.email = "chardy_1345003248_per@gmail.com" end end end class MockResponse attr_accessor :body_str def initialize(body) self.body_str = body end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paypal-payment-0.1.2 | spec/spec_helper.rb |