Sha256: ffda215d379baaa40c5b4b02e395de295da87879d45dd7f0ebe35628ed598914
Contents?: true
Size: 591 Bytes
Versions: 4
Compression:
Stored size: 591 Bytes
Contents
module Workarea decorate Payment::Capture::CreditCardTest, with: :braintree do decorated { include BraintreeGatewayVCRConfig } def test_complete_sets_the_response_on_the_transaction VCR.use_cassette 'braintree/capture_success' do super end end private def reference @reference ||= Payment::Transaction.new( amount: 5.to_m, response: ActiveMerchant::Billing::Response.new( true, 'Message', {}, { authorization: authorization } ) ) end end end
Version data entries
4 entries across 4 versions & 1 rubygems