Sha256: e51a37ed5c0f7cc3b7c122e5e225fc46103d14ad2c7d870d4850e3a410c19a1b
Contents?: true
Size: 949 Bytes
Versions: 4
Compression:
Stored size: 949 Bytes
Contents
FactoryBot.define do factory :payment_method, aliases: [:credit_card_payment_method], class: 'Spree::PaymentMethod::BogusCreditCard' do name 'Credit Card' available_to_admin true available_to_users true end factory :check_payment_method, class: 'Spree::PaymentMethod::Check' do name 'Check' available_to_admin true available_to_users true end # authorize.net was moved to spree_gateway. # Leaving this factory in place with bogus in case anyone is using it. factory :simple_credit_card_payment_method, class: 'Spree::PaymentMethod::SimpleBogusCreditCard' do name 'Credit Card' available_to_admin true available_to_users true end factory :store_credit_payment_method, class: 'Spree::PaymentMethod::StoreCredit' do name "Store Credit" description "Store Credit" active true available_to_admin false available_to_users false auto_capture true end end
Version data entries
4 entries across 4 versions & 1 rubygems