Sha256: c32d5e2b6148a9997e1576f91817b584292580e146c048f8b34f53d0b020997a

Contents?: true

Size: 632 Bytes

Versions: 1

Compression:

Stored size: 632 Bytes

Contents

module Workarea
  decorate Payment::RefundTest, with: :checkoutdotcom do
    def setup_payment
      payment.set_address(
        first_name: 'Ben',
        last_name: 'Crouse',
        street: '22 S. 3rd St.',
        city: 'Philadelphia',
        region: 'PA',
        postal_code: '19106',
        country: 'US',
        phone_number: '2159251800'
      )

      payment.set_store_credit
      payment.set_credit_card(
        number: '1',
        month: 1,
        year: Time.current.year + 1,
        cvv: '999',
        amount: 5.to_m
      )

      create_order(id: payment.id, email: 'bclams@weblinc.com')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-checkoutdotcom-1.2.0 test/models/workarea/payment/refund_test.decorator