Sha256: 61fee3f63f32b544a23655246add1f2f87409d0964f3f12c3b2e4bca2f7b8447

Contents?: true

Size: 364 Bytes

Versions: 75

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

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      { Spree::StoreCreditType::NON_EXPIRING }
    priority  { "2" }
  end
end

Version data entries

75 entries across 75 versions & 2 rubygems

Version Path
solidus_core_devise_token_auth-2.8.0.alpha.11 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.10 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.9 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.8 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.7 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.6 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.5 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core_devise_token_auth-2.8.0.alpha.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-2.7.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-2.6.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-2.6.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-2.6.0.rc1 lib/spree/testing_support/factories/store_credit_type_factory.rb