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-4.4.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.4.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.3.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.2.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.1.5 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.3.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.3.2 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.1.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.3.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.3.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.2.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.1.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.0.4 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.0.3 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.1.2 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.2.2 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.2.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.2.0 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.1.1 lib/spree/testing_support/factories/store_credit_type_factory.rb
solidus_core-4.0.2 lib/spree/testing_support/factories/store_credit_type_factory.rb