Sha256: e4a7d763b87b8bd42e875d8c06688d42015956cf10ba57e518c6f115a9dcd4b3
Contents?: true
Size: 911 Bytes
Versions: 9
Compression:
Stored size: 911 Bytes
Contents
FactoryGirl.define do factory :payment_method, aliases: [:credit_card_payment_method], class: Spree::Gateway::Bogus 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::Gateway::BogusSimple 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
9 entries across 9 versions & 1 rubygems