Sha256: e6cb4ba9266bf4cbe47d8c5b3b646de44062cc8609f11f580fd022b6ca652d23
Contents?: true
Size: 706 Bytes
Versions: 2
Compression:
Stored size: 706 Bytes
Contents
require 'test_helper' module Workarea if Plugin.installed?(:api) module Api module Admin decorate PaymentTransactionsIntegrationTest, with: :kount do def create_transaction order = create_order payment = create_payment(id: order.id) payment.set_credit_card( number: '1', month: 1, year: Time.now.year + 1, cvv: '999' ) Payment::Transaction.create!( payment: payment, tender_id: payment.credit_card.id, amount: 45, action: 'authorize' ) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems