Sha256: a2099c811f8a101879b3c8202345d60be01309bc64efa8e5f983a87f2eafb6f0

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

FactoryGirl.define do
  factory :affirm_payment, class: Spree::Payment do
    amount 45.75
    association(:payment_method, factory: :affirm_payment_method)
    association(:source, factory: :affirm_checkout)
    order
    state 'checkout'
    response_code '12345'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_affirm-0.2.30 lib/spree_affirm/factories/payment_factory.rb
spree_affirm-0.2.3 lib/spree_affirm/factories/payment_factory.rb
spree_affirm-0.2.22 lib/spree_affirm/factories/payment_factory.rb
spree_affirm-0.2.21 lib/spree_affirm/factories/payment_factory.rb
spree_affirm-0.2.20 lib/spree_affirm/factories/payment_factory.rb