Sha256: c304cc7554edf0f60dab61100e0c44578cdfd045bc011783b791674db965e0c7

Contents?: true

Size: 165 Bytes

Versions: 4

Compression:

Stored size: 165 Bytes

Contents

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

    presentation 'S'
    option_type
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_core-2.5.0 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-2.5.0.rc1 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-2.5.0.beta2 lib/spree/testing_support/factories/option_value_factory.rb
solidus_core-2.5.0.beta1 lib/spree/testing_support/factories/option_value_factory.rb