Sha256: 9185a09e88eca0ac67886f558bfa48ef7eb7451c7386c05a01f950d9f14c456a

Contents?: true

Size: 200 Bytes

Versions: 72

Compression:

Stored size: 200 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :option_value, class: 'Spree::OptionValue' do
    sequence(:name) { |n| "Size-#{n}" }

    presentation { 'S' }
    option_type
  end
end

Version data entries

72 entries across 72 versions & 2 rubygems

Version Path
solidus_core-4.4.2 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.4.1 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.4.0 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.3.4 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.2.4 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.1.5 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.3.3 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.3.2 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.1.4 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.3.1 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.3.0 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.2.3 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.1.3 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.0.4 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.0.3 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.1.2 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.2.2 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.2.1 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.2.0 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-4.1.1 lib/spree/testing_support/factories/option_value_factory.rb