Sha256: dc9cd197b3a9ae994bbcd85b6ce03a0c1e13f70bcd28cc56f1c36908f919703a

Contents?: true

Size: 307 Bytes

Versions: 76

Compression:

Stored size: 307 Bytes

Contents

FactoryBot.define do
  factory :primary_credit_type, class: Spree::StoreCreditType do
    name      { Spree::StoreCreditType::DEFAULT_TYPE_NAME }
    priority  { '1' }
  end

  factory :secondary_credit_type, class: Spree::StoreCreditType do
    name      { 'Non-expiring' }
    priority  { '2' }
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
spree_core-4.0.9 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.1.15 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.2.7 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.3.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.2.6 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.3.2 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.3.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.3.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.3.0.rc3 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.3.0.rc2 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.3.0.rc1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.2.5 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.1.14 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.0.8 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.2.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.7.14.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.2.3.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.1.13.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.0.7.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-4.2.3 lib/spree/testing_support/factories/store_credit_type_factory.rb