Sha256: 5cbb32a5edd28dc3d9b2d798faed2f5de88815928037f3b9f3f419979d3a5f73

Contents?: true

Size: 514 Bytes

Versions: 9

Compression:

Stored size: 514 Bytes

Contents

FactoryGirl.define do
  factory :payment_method, :class => Spree::PaymentMethod::Check do
    name 'Check'
    environment 'test'
  end

  factory :bogus_payment_method, :class => Spree::Gateway::Bogus do
    name 'Credit Card'
    environment 'test'
  end

  # authorize.net was moved to spree_gateway. Leaving this factory
  # in place with bogus in case anyone is using it
  factory :authorize_net_payment_method, :class => Spree::Gateway::BogusSimple do
    name 'Credit Card'
    environment 'test'
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_core-1.3.5 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.3.4 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.3.3 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.3.2 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.3.1 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.3.0 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.3.0.rc2 lib/spree/core/testing_support/factories/payment_method_factory.rb
dup_spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/payment_method_factory.rb