Sha256: c4ba5e0aa1d5c2e0775185274ad4f51dd135347f9218b59b08d71f98f7eade0a

Contents?: true

Size: 710 Bytes

Versions: 32

Compression:

Stored size: 710 Bytes

Contents

FactoryGirl.define do
  factory :payment_method, aliases: [:credit_card_payment_method], class: Spree::Gateway::Bogus do
    name 'Credit Card'
  end

  factory :check_payment_method, class: Spree::PaymentMethod::Check do
    name 'Check'
  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'
  end

  factory :store_credit_payment_method, class: Spree::PaymentMethod::StoreCredit do
    name          "Store Credit"
    description   "Store Credit"
    active        true
    display_on    'none'
    auto_capture  true
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
solidus_core-1.2.1 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.1.3 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.2.0 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.2.0.rc2 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.1.2 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.2.0.rc1 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.2.0.beta1 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.1.1 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.1.0 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.1.0.pre2 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.1.0.pre1 lib/spree/testing_support/factories/payment_method_factory.rb
solidus_core-1.1.0.beta1 lib/spree/testing_support/factories/payment_method_factory.rb