Sha256: ced80796583722f90686b30bdb417329f92783602ff7d4db85bdfc254395ebc3

Contents?: true

Size: 595 Bytes

Versions: 28

Compression:

Stored size: 595 Bytes

Contents

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

  factory :bogus_payment_method, :class => Spree::Gateway::Bogus do
    name 'Credit Card'
    environment 'test'
    #display_on :front_end
  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'
    #display_on :front_end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spree_core-1.2.5 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.6 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.5 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.2.4 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.0.7 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.2.3 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.2.2 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.4 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.2.0 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.2.0.rc2 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.2.0.rc1 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.3 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.0.6 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.2 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.2.rc1 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.1 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.0 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.0.4 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.0.rc2 lib/spree/core/testing_support/factories/payment_method_factory.rb
spree_core-1.1.0.rc1 lib/spree/core/testing_support/factories/payment_method_factory.rb