Sha256: 66600be69eb9bbf86ef0ce7a43e9a971983a584f9368b77a497a46cb7631cfb8

Contents?: true

Size: 304 Bytes

Versions: 43

Compression:

Stored size: 304 Bytes

Contents

FactoryGirl.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

43 entries across 43 versions & 1 rubygems

Version Path
spree_core-3.1.14 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.1.13 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.3.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.2.7 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.1.12 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.3.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.2.6 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.1.11 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.4.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.4.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.4.0.rc2 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.1.10 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.4.0.rc1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.3.2 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.2.5 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.1.9 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.3.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.2.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.1.8 lib/spree/testing_support/factories/store_credit_type_factory.rb
spree_core-3.3.0 lib/spree/testing_support/factories/store_credit_type_factory.rb